]> gitweb.ps.run Git - ps-cgit/blobdiff - html.c
Implement plain view
[ps-cgit] / html.c
diff --git a/html.c b/html.c
index 1237076b32702fb8bee99672746c31e82752bd69..83fc7a9b7646a2dc96f87f277460c8c0857249ec 100644 (file)
--- a/html.c
+++ b/html.c
@@ -35,6 +35,11 @@ char *fmt(const char *format, ...)
        return buf[bufidx];
 }
 
+void html_raw(const char *data, size_t size)
+{
+       write(htmlfd, data, size);
+}
+
 void html(const char *txt)
 {
        write(htmlfd, txt, strlen(txt));