чување 8cc9d11d88752f086f26fb65726082acb985ba08
родитељ c08bf6b7c39422effeee33da068694a0309e54be
Аутор: Страхиња Радић <contact@strahinja.org>
Датум: Thu, 19 Aug 2021 18:51:53 +0200
Fix: process_table_end was called in both passes in slweb_parse
Signed-off-by: Страхиња Радић <contact@strahinja.org>
Diffstat:
измењених датотека: 2, додавања: 6(+), брисања: 3(-)
diff --git a/index.html b/index.html
@@ -152,7 +152,7 @@ this program. If not, see <<a href="https://www.gnu.org/licenses">https://www
<div id="git-log">
Previous commit:
-index.slw 542748c 2021-08-13 15:43:09 +0200 (Страхиња Радић) (HEAD -> master, origin/master, origin/HEAD)
+index.slw c08bf6b 2021-08-13 16:56:07 +0200 (Страхиња Радић) (HEAD -> master, origin/master, origin/HEAD)
</div><!--git-log-->
diff --git a/slweb.c b/slweb.c
@@ -3232,8 +3232,11 @@ do_line:
case '/':
state &= ~ST_TABLE;
- process_table_end(output);
- output_firstcol = TRUE;
+ if (!read_yaml_macros_and_links)
+ {
+ process_table_end(output);
+ output_firstcol = TRUE;
+ }
pline = NULL;
break;