index
:
cgit
e5da4bca54 (detached)
main
Hyperfast and read-only web frontend for git repositories
Bryce Kwon
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
html.c
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
(limited to '')
-rw-r--r--
html.c
5
1 file changed, 5 insertions, 0 deletions
diff --git a/html.c b/html.c
index 1237076..83fc7a9 100644
--- 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));