diff --git a/src/HTMLRenderer/general.cc b/src/HTMLRenderer/general.cc
index 2d5721a..94cf02d 100644
--- a/src/HTMLRenderer/general.cc
+++ b/src/HTMLRenderer/general.cc
@@ -399,20 +399,6 @@ void HTMLRenderer::post_process(void)
long line_no = 0;
while(getline(manifest_fin, line))
{
- ++line_no;
-
- if(line == "\"\"\"")
- {
- embed_string = !embed_string;
- continue;
- }
-
- if(embed_string)
- {
- output << line << endl;
- continue;
- }
-
// trim space at both sides
{
static const char * whitespaces = " \t\n\v\f\r";
@@ -429,6 +415,20 @@ void HTMLRenderer::post_process(void)
}
}
+ ++line_no;
+
+ if(line == "\"\"\"")
+ {
+ embed_string = !embed_string;
+ continue;
+ }
+
+ if(embed_string)
+ {
+ output << line << endl;
+ continue;
+ }
+
if(line.empty() || line[0] == '#')
continue;