aboutsummaryrefslogtreecommitdiffstats
path: root/src/content-parser.h
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2016-01-22 19:29:57 +0100
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2016-01-22 19:30:47 +0100
commitcb132cf02e57f57f4507fbc0126481629d83f209 (patch)
treeb6f77c8cb4033b2c0b84d12443444d0e2efff979 /src/content-parser.h
parent06d8ca94860f4a795995d811cef477969baa2331 (diff)
downloadblogc-cb132cf02e57f57f4507fbc0126481629d83f209.tar.gz
blogc-cb132cf02e57f57f4507fbc0126481629d83f209.tar.bz2
blogc-cb132cf02e57f57f4507fbc0126481629d83f209.zip
content-parser: encode html entities found in code blocks (fixes #3)
Diffstat (limited to 'src/content-parser.h')
-rw-r--r--src/content-parser.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/content-parser.h b/src/content-parser.h
index 5802594..6617bb4 100644
--- a/src/content-parser.h
+++ b/src/content-parser.h
@@ -13,6 +13,7 @@
#include <stdbool.h>
char* blogc_slugify(const char *str);
+char* blogc_htmlentities(const char *str);
char* blogc_content_parse_inline(const char *src);
bool blogc_is_ordered_list_item(const char *str, size_t prefix_len);
char* blogc_content_parse(const char *src, size_t *end_excerpt);