webdump

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.z3bra.org/webdump.git
Log | Files | Refs | README | LICENSE

commit 4fea38d503fe668601fef6ffc9b21c94e24c542e
parent 74ca65d0beb13f86344479079cc3bfcc924c30ae
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Sat, 21 Sep 2019 16:43:16 +0200

show "code" as pre for now, disable showing links for now

Diffstat:
main.c | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/main.c b/main.c @@ -80,8 +80,8 @@ static struct { } tags[] = { /* pre */ { "pre", DisplayPre }, + { "code", DisplayPre }, /* inline */ - { "code", DisplayInline }, { "b", DisplayInline }, { "i", DisplayInline }, { "u", DisplayInline }, @@ -578,6 +578,7 @@ xmltagstartparsed(XMLParser *p, const char *t, size_t tl, int isshort) src[0] = '\0'; #endif +#if 0 /* show links inline */ if (src[0]) { char absurl[1024]; @@ -591,6 +592,7 @@ xmltagstartparsed(XMLParser *p, const char *t, size_t tl, int isshort) putchar(')'); } } +#endif if (cur->displaytype & DisplayBlock) { fputs("\n", stdout);