cld-ssg

The static site generator (to be) used for hellocld.com
git clone git://git.hellocld.com/cld-ssg
Log | Files | Refs | README

commit 5540f83c5f80cd5c5007d11871a72d4fdf1cf82a
parent bfc869b60219bd7dc7761942835eef9ed20ecd7f
Author: Christopher Ray Langford <chris@hellocld.com>
Date:   Thu,  3 Oct 2019 15:55:21 -0400

ACTUALLY setting CMARK_OPT_UNSAFE now

Diffstat:
Mmain.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main.c b/main.c @@ -125,7 +125,7 @@ struct post *create_post(const char *file) insert_post_time(t_root, p->time); printf("Rendering HTML...\n"); /* convert the markdown to html */ - p->content = cmark_render_html(t_root, CMARK_OPT_DEFAULT); + p->content = cmark_render_html(t_root, CMARK_OPT_UNSAFE); printf("Generating html filename...\n"); /* generate the html file name */ p->fhtml = malloc(MAX_URL_CHARS);