From dd5aaab8e25560ca88a17e2a18ba23d87e86481d Mon Sep 17 00:00:00 2001 From: Nate Choe Date: Sun, 24 Apr 2022 22:03:23 -0500 Subject: [PATCH] Fixed a bug with open/close tags --- src/template.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/template.c b/src/template.c index 324a556..25f20a7 100644 --- a/src/template.c +++ b/src/template.c @@ -106,8 +106,11 @@ static int parseline(char *line, struct parsestate *currstate, FILE *out) { case SKELETON: handlehtmlmiddle(&type, currstate, line, out); return 0; + case GENERICTAG: + handlehtmlmiddle(&type, currstate, line, out); + return 0; case EMPTY: case PLAIN: case SPACECODE: case HR: - case SETEXT1: case SETEXT2: case HEADER: case GENERICTAG: + case SETEXT1: case SETEXT2: case HEADER: break; }