Introduction
Introduction Statistics Contact Development Disclaimer Help
reduce some newlines before the link references - webdump - HTML to plain-text …
git clone git://git.codemadness.org/webdump
Log
Files
Refs
README
LICENSE
---
commit a30cb9a818546a1e7b651fa33e2f0164079b7bc5
parent 20fb149d1183220e2fee0cbfb6d3ac4f288bc67e
Author: Hiltjo Posthuma <[email protected]>
Date: Thu, 7 Sep 2023 18:35:58 +0200
reduce some newlines before the link references
Diffstat:
M webdump.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/webdump.c b/webdump.c
@@ -1346,7 +1346,7 @@ printlinkrefs(void)
dprintf(3, "%s\t%s\n", links_cur->type, links_cur->url…
}
- printf("\n\nReferences\n\n");
+ printf("\nReferences\n\n");
i = 1;
for (links_cur = links_head; links_cur; links_cur = links_cur->next) {
@@ -2058,13 +2058,13 @@ main(int argc, char **argv)
parser.getnext = getchar;
xml_parse(&parser);
- if (showrefbottom || resources)
- printlinkrefs();
-
hflush();
if (ncells > 0)
newline();
+ if (showrefbottom || resources)
+ printlinkrefs();
+
hflush();
setmarkup(0);
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.