webdump, branch HEAD[FORK] git://git.codemadness.org/webdump
1ccfc4c151797ab36eaa37d0b84e9c12236af6c32020-03-12T21:33:53Z2020-03-13T10:18:50Zhandle closed tag with no corresponding open tag (for malformed HTML)Leonardo Taccariiamleot@gmail.comcommit 1ccfc4c151797ab36eaa37d0b84e9c12236af6c3
parent 6675aae92b4d75ad0b40216faf66db996fd298e4
Author: Leonardo Taccari <iamleot@gmail.com>
Date: Thu, 12 Mar 2020 22:33:53 +0100
handle closed tag with no corresponding open tag (for malformed HTML)
This avoid possible NULL pointer dereference, e.g. when just parsing
`</a>'.
6675aae92b4d75ad0b40216faf66db996fd298e42020-03-12T08:30:41Z2020-03-12T08:30:41Zmini-consistency fixHiltjo Posthumahiltjo@codemadness.orgcommit 6675aae92b4d75ad0b40216faf66db996fd298e4
parent bc1669d7927bb347612b5fbd74754207266654d2
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Thu, 12 Mar 2020 09:30:41 +0100
mini-consistency fix
bc1669d7927bb347612b5fbd74754207266654d22020-03-11T14:46:26Z2020-03-11T14:46:26Zimprove XML entity conversionHiltjo Posthumahiltjo@codemadness.orgcommit bc1669d7927bb347612b5fbd74754207266654d2
parent 1c95e7d86a0dc62670a87f755b3507ceab912ec1
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Wed, 11 Mar 2020 15:46:26 +0100
improve XML entity conversion
- return -1 for invalid XML entities.
- separate between NUL (�) and invalid entities: although both are
unwanted in sfeed.
- validate the number range more strictly and don't wrap to unsigned.
entities lik: "&#-1;" are handled as invalid now. "&#;" is also invalid
instead of the same as "�".
1c95e7d86a0dc62670a87f755b3507ceab912ec12020-03-11T14:44:22Z2020-03-11T14:44:22Zadd initial "optional" tag handling, rework some tag handlingHiltjo Posthumahiltjo@codemadness.orgcommit 1c95e7d86a0dc62670a87f755b3507ceab912ec1
parent ff081bef0cfc66b4a5960996a0fc41dea868ac60
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Wed, 11 Mar 2020 15:44:22 +0100
add initial "optional" tag handling, rework some tag handling
- add initial support for "optional" closing tags which is used in HTML, not
XHTML.
- align the tags table.
- rework some end tag handling.
ff081bef0cfc66b4a5960996a0fc41dea868ac602019-12-09T23:24:32Z2019-12-09T23:24:32Zuse field isvoid from the looked up tag (should be the same)Hiltjo Posthumahiltjo@codemadness.orgcommit ff081bef0cfc66b4a5960996a0fc41dea868ac60
parent c438bee21c66000911d88b01fc6c1b7024b50f18
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Tue, 10 Dec 2019 00:24:32 +0100
use field isvoid from the looked up tag (should be the same)
c438bee21c66000911d88b01fc6c1b7024b50f182019-12-09T23:22:54Z2019-12-09T23:22:54Zrm unused variableHiltjo Posthumahiltjo@codemadness.orgcommit c438bee21c66000911d88b01fc6c1b7024b50f18
parent ea742c1140fa02bb5328c0c6f005c74150ec4c41
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Tue, 10 Dec 2019 00:22:54 +0100
rm unused variable
ea742c1140fa02bb5328c0c6f005c74150ec4c412019-12-09T23:13:16Z2019-12-09T23:13:16Zhide tags if parent is hiddenHiltjo Posthumahiltjo@codemadness.orgcommit ea742c1140fa02bb5328c0c6f005c74150ec4c41
parent 2ef6d5a9e0fb526243121a4ac99f97f22ae6cd1a
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Tue, 10 Dec 2019 00:13:16 +0100
hide tags if parent is hidden
2ef6d5a9e0fb526243121a4ac99f97f22ae6cd1a2019-12-09T18:05:44Z2019-12-09T18:05:44Zimprove hidden elements, add "hidden" and "aria-hidden" attribute parsingHiltjo Posthumahiltjo@codemadness.orgcommit 2ef6d5a9e0fb526243121a4ac99f97f22ae6cd1a
parent a7a2ba6114f500856fbe532006fb15d9a18f5e2f
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Mon, 9 Dec 2019 19:05:44 +0100
improve hidden elements, add "hidden" and "aria-hidden" attribute parsing
a7a2ba6114f500856fbe532006fb15d9a18f5e2f2019-12-09T18:05:27Z2019-12-09T18:05:27Zrefactor bsearch to findtag()Hiltjo Posthumahiltjo@codemadness.orgcommit a7a2ba6114f500856fbe532006fb15d9a18f5e2f
parent a49448ef41b7d425b1b7c5a29119f52d1c735cd5
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Mon, 9 Dec 2019 19:05:27 +0100
refactor bsearch to findtag()
a49448ef41b7d425b1b7c5a29119f52d1c735cd52019-12-09T18:04:45Z2019-12-09T18:04:45Zrename autoclose to isvoid (void element)Hiltjo Posthumahiltjo@codemadness.orgcommit a49448ef41b7d425b1b7c5a29119f52d1c735cd5
parent 956ad097d43cce10c04be9cb5f3f97b4dc703067
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Mon, 9 Dec 2019 19:04:45 +0100
rename autoclose to isvoid (void element)
void elements are not allowed to be closed, so ignore them.
956ad097d43cce10c04be9cb5f3f97b4dc7030672019-12-09T17:46:55Z2019-12-09T17:46:55Zhide script, style and template tagHiltjo Posthumahiltjo@codemadness.orgcommit 956ad097d43cce10c04be9cb5f3f97b4dc703067
parent d51661848fc21d2657e3465cfda192a6df482c0e
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Mon, 9 Dec 2019 18:46:55 +0100
hide script, style and template tag
d51661848fc21d2657e3465cfda192a6df482c0e2019-12-09T17:46:40Z2019-12-09T17:46:40Zuse binary search for tagsHiltjo Posthumahiltjo@codemadness.orgcommit d51661848fc21d2657e3465cfda192a6df482c0e
parent db8f34a3ca6cfbde225ad4d723b3978e4f34578c
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Mon, 9 Dec 2019 18:46:40 +0100
use binary search for tags
db8f34a3ca6cfbde225ad4d723b3978e4f34578c2019-12-09T17:38:41Z2019-12-09T17:38:41Zsort tagsHiltjo Posthumahiltjo@codemadness.orgcommit db8f34a3ca6cfbde225ad4d723b3978e4f34578c
parent 0aaf37618319738faf0c0014c9b8c80abf39e3f6
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Mon, 9 Dec 2019 18:38:41 +0100
sort tags
0aaf37618319738faf0c0014c9b8c80abf39e3f62019-12-08T15:41:00Z2019-12-08T15:41:00Zuse binary search (bsearch) for named entity lookup on the sorted listHiltjo Posthumahiltjo@codemadness.orgcommit 0aaf37618319738faf0c0014c9b8c80abf39e3f6
parent fb8467d36699d79fa9678342993180ddd7590c29
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 8 Dec 2019 16:41:00 +0100
use binary search (bsearch) for named entity lookup on the sorted list
using the big list namedentities.all.h this is much faster (of course).
fb8467d36699d79fa9678342993180ddd7590c292019-12-08T15:31:38Z2019-12-08T15:31:38Zsort named entities, add laquo, raquo and REG to the common-used listHiltjo Posthumahiltjo@codemadness.orgcommit fb8467d36699d79fa9678342993180ddd7590c29
parent 48014d5cd3f8f97438edcf6ffd7110338e5c2f3b
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 8 Dec 2019 16:31:38 +0100
sort named entities, add laquo, raquo and REG to the common-used list
48014d5cd3f8f97438edcf6ffd7110338e5c2f3b2019-12-08T15:23:25Z2019-12-08T15:23:25Zshow img alt textHiltjo Posthumahiltjo@codemadness.orgcommit 48014d5cd3f8f97438edcf6ffd7110338e5c2f3b
parent 855c8fd52cde5d086eba217b865772a2b59ac4eb
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 8 Dec 2019 16:23:25 +0100
show img alt text
855c8fd52cde5d086eba217b865772a2b59ac4eb2019-12-08T15:20:41Z2019-12-08T15:20:41ZREADME: minor rewordHiltjo Posthumahiltjo@codemadness.orgcommit 855c8fd52cde5d086eba217b865772a2b59ac4eb
parent 1cea64472638b69e7c4747729e33a15c58cab5d9
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 8 Dec 2019 16:20:41 +0100
README: minor reword
1cea64472638b69e7c4747729e33a15c58cab5d92019-12-08T15:09:00Z2019-12-08T15:09:00Zsimplify link reference type, remove ifdefs and some debug codeHiltjo Posthumahiltjo@codemadness.orgcommit 1cea64472638b69e7c4747729e33a15c58cab5d9
parent 044d586ba0ed57e8cba46603e68a6392a22b3511
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 8 Dec 2019 16:09:00 +0100
simplify link reference type, remove ifdefs and some debug code
044d586ba0ed57e8cba46603e68a6392a22b35112019-12-08T14:57:44Z2019-12-08T14:57:44Zonly show link references at the bottom if there are any, remove #ifdef for itHiltjo Posthumahiltjo@codemadness.orgcommit 044d586ba0ed57e8cba46603e68a6392a22b3511
parent 41c9468ad0eecb17decb3417d3cd60d3be70bace
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 8 Dec 2019 15:57:44 +0100
only show link references at the bottom if there are any, remove #ifdef for it
41c9468ad0eecb17decb3417d3cd60d3be70bace2019-11-29T14:25:16Z2019-11-29T14:25:16Zadd tel: as link reference, only mailto: and tel: may be used in <a>Hiltjo Posthumahiltjo@codemadness.orgcommit 41c9468ad0eecb17decb3417d3cd60d3be70bace
parent dc6abb72ba42569b71ac27b79ca69f29263a01c2
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 29 Nov 2019 15:25:16 +0100
add tel: as link reference, only mailto: and tel: may be used in <a>
dc6abb72ba42569b71ac27b79ca69f29263a01c22019-11-29T14:22:54Z2019-11-29T14:22:54Zadd a case for mailto: urls for link referencesHiltjo Posthumahiltjo@codemadness.orgcommit dc6abb72ba42569b71ac27b79ca69f29263a01c2
parent 4668757e454aab81f013856c4320bec8710e427c
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 29 Nov 2019 15:22:54 +0100
add a case for mailto: urls for link references
4668757e454aab81f013856c4320bec8710e427c2019-11-29T14:08:34Z2019-11-29T14:08:34Zupdate READMEHiltjo Posthumahiltjo@codemadness.orgcommit 4668757e454aab81f013856c4320bec8710e427c
parent 99cb10c132f2adfc1616798f67f57e65cfd0ef65
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 29 Nov 2019 15:08:34 +0100
update README
99cb10c132f2adfc1616798f67f57e65cfd0ef652019-11-29T14:06:58Z2019-11-29T14:06:58Zdisable ANSI codes by default now that there is a -a optionHiltjo Posthumahiltjo@codemadness.orgcommit 99cb10c132f2adfc1616798f67f57e65cfd0ef65
parent a0989953b412e2baa791c9e64f4ebdcbf0e0ab33
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 29 Nov 2019 15:06:58 +0100
disable ANSI codes by default now that there is a -a option
a0989953b412e2baa791c9e64f4ebdcbf0e0ab332019-11-29T14:05:48Z2019-11-29T14:05:48Zunderline references/linksHiltjo Posthumahiltjo@codemadness.orgcommit a0989953b412e2baa791c9e64f4ebdcbf0e0ab33
parent 7d852a154dc83f7da5bff8b697e5ec0ecf3611fa
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 29 Nov 2019 15:05:48 +0100
underline references/links
7d852a154dc83f7da5bff8b697e5ec0ecf3611fa2019-11-29T14:05:07Z2019-11-29T14:05:07Zupdate READMEHiltjo Posthumahiltjo@codemadness.orgcommit 7d852a154dc83f7da5bff8b697e5ec0ecf3611fa
parent 87933418d5a1082772e9416156dbeef8ed9c652c
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 29 Nov 2019 15:05:07 +0100
update README
87933418d5a1082772e9416156dbeef8ed9c652c2019-11-29T14:04:02Z2019-11-29T14:04:02Zimprovem man page, change -s to -rHiltjo Posthumahiltjo@codemadness.orgcommit 87933418d5a1082772e9416156dbeef8ed9c652c
parent 6b646d82367267f2edf62cbbd5affb67f9767225
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 29 Nov 2019 15:04:02 +0100
improvem man page, change -s to -r
change "-s" option to "-r" because I'm going to rewrite "soft" line-wrapping at
some point.
6b646d82367267f2edf62cbbd5affb67f97672252019-11-29T09:49:14Z2019-11-29T13:56:06ZAdd ability to toggle rendering optionsWilly Goiffoncontact@z3bra.orgcommit 6b646d82367267f2edf62cbbd5affb67f9767225
parent bed530b4daefa4d846e400873db07753a79694f8
Author: Willy Goiffon <contact@z3bra.org>
Date: Fri, 29 Nov 2019 10:49:14 +0100
Add ability to toggle rendering options
bed530b4daefa4d846e400873db07753a79694f82019-11-29T09:42:23Z2019-11-29T13:56:06ZEnsure no unnecessary newline is appended at end of dumpWilly Goiffoncontact@z3bra.orgcommit bed530b4daefa4d846e400873db07753a79694f8
parent 14ce2c581f0b10a0ce502c5fc2cd6b6618705169
Author: Willy Goiffon <contact@z3bra.org>
Date: Fri, 29 Nov 2019 10:42:23 +0100
Ensure no unnecessary newline is appended at end of dump
14ce2c581f0b10a0ce502c5fc2cd6b66187051692019-11-28T21:23:56Z2019-11-28T21:23:56Znamed entities: add ®Hiltjo Posthumahiltjo@codemadness.orgcommit 14ce2c581f0b10a0ce502c5fc2cd6b6618705169
parent 704af411d72351174342dda310c134da407ec0cb
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Thu, 28 Nov 2019 22:23:56 +0100
named entities: add ®
704af411d72351174342dda310c134da407ec0cb2019-11-28T21:23:52Z2019-11-28T21:23:52Zupdate READMEHiltjo Posthumahiltjo@codemadness.orgcommit 704af411d72351174342dda310c134da407ec0cb
parent 7615046ff3b05e22ffcf31fe73f384f6e094c3c6
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Thu, 28 Nov 2019 22:23:52 +0100
update README
7615046ff3b05e22ffcf31fe73f384f6e094c3c62019-11-28T21:22:58Z2019-11-28T21:22:58Z"autoclose" certain tags if they are not defined in the short formHiltjo Posthumahiltjo@codemadness.orgcommit 7615046ff3b05e22ffcf31fe73f384f6e094c3c6
parent 27d6623ea727df2e7442c5f9035b5b7808518bbb
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Thu, 28 Nov 2019 22:22:58 +0100
"autoclose" certain tags if they are not defined in the short form
for example: <br> is equivalent to <br/>
note that </br> is not checked for being invalid (yet)
27d6623ea727df2e7442c5f9035b5b7808518bbb2019-11-28T18:27:45Z2019-11-28T18:27:45Zuse a list of common-used named entitiesHiltjo Posthumahiltjo@codemadness.orgcommit 27d6623ea727df2e7442c5f9035b5b7808518bbb
parent 34f14d8e8b3fdf86c8dd9ebd9a41062e6d4cbd0a
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Thu, 28 Nov 2019 19:27:45 +0100
use a list of common-used named entities
keep the original list for reference.
shrinks the binary size a lot.
34f14d8e8b3fdf86c8dd9ebd9a41062e6d4cbd0a2019-11-28T18:18:20Z2019-11-28T18:18:20Zremove local TODOHiltjo Posthumahiltjo@codemadness.orgcommit 34f14d8e8b3fdf86c8dd9ebd9a41062e6d4cbd0a
parent 7013a747fe23af9af20cc8bc61f5710c4c1f23f1
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Thu, 28 Nov 2019 19:18:20 +0100
remove local TODO
7013a747fe23af9af20cc8bc61f5710c4c1f23f12019-11-28T18:17:28Z2019-11-28T18:17:28Zdon't hide data inside unknown tags, just show it as inlineHiltjo Posthumahiltjo@codemadness.orgcommit 7013a747fe23af9af20cc8bc61f5710c4c1f23f1
parent f4dcb532c8a82ac9b3703312e0e1be0de355308b
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Thu, 28 Nov 2019 19:17:28 +0100
don't hide data inside unknown tags, just show it as inline
also reported by z3bra, thanks.
f4dcb532c8a82ac9b3703312e0e1be0de355308b2019-11-28T18:16:14Z2019-11-28T18:16:14Zfix formatting inside <pre> containing markupHiltjo Posthumahiltjo@codemadness.orgcommit f4dcb532c8a82ac9b3703312e0e1be0de355308b
parent e108b339266f4513f7e2aa97213e87f24b53b9b8
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Thu, 28 Nov 2019 19:16:14 +0100
fix formatting inside <pre> containing markup
refactor the node traversing function, make it more reusable.
e108b339266f4513f7e2aa97213e87f24b53b9b82019-11-22T12:15:02Z2019-11-22T12:15:02Zdisable reverse for <code>Hiltjo Posthumahiltjo@codemadness.orgcommit e108b339266f4513f7e2aa97213e87f24b53b9b8
parent 7b43920e76626603478ed53f5d6138fcaae1aec8
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 22 Nov 2019 13:15:02 +0100
disable reverse for <code>
7b43920e76626603478ed53f5d6138fcaae1aec82019-11-22T12:14:24Z2019-11-22T12:14:24Zadd strikethrough, blink. refactor bitmasks for displaytypesHiltjo Posthumahiltjo@codemadness.orgcommit 7b43920e76626603478ed53f5d6138fcaae1aec8
parent 2720d0c98e33bf3bfce68368087b7e2ec35ce304
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 22 Nov 2019 13:14:24 +0100
add strikethrough, blink. refactor bitmasks for displaytypes
2720d0c98e33bf3bfce68368087b7e2ec35ce3042019-11-22T12:13:38Z2019-11-22T12:13:38Zadd all named entities.Hiltjo Posthumahiltjo@codemadness.orgcommit 2720d0c98e33bf3bfce68368087b7e2ec35ce304
parent 22ff00cdaf8d9737890239664b27dac1a84bfbaf
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 22 Nov 2019 13:13:38 +0100
add all named entities.
this bloats up the size a lot, so might be reworked later
22ff00cdaf8d9737890239664b27dac1a84bfbaf2019-11-22T12:12:47Z2019-11-22T12:12:47Zadd <br> handling in tagstartHiltjo Posthumahiltjo@codemadness.orgcommit 22ff00cdaf8d9737890239664b27dac1a84bfbaf
parent 3ec685a587b8404367c9c0fc6e2ec6a8f1b40c77
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 22 Nov 2019 13:12:47 +0100
add <br> handling in tagstart
this makes sure both <br/> and <br> works
(the invalid </br> doesn't work)
3ec685a587b8404367c9c0fc6e2ec6a8f1b40c772019-11-22T12:12:04Z2019-11-22T12:12:04Zprint and reset each style (do not reset all attributes)Hiltjo Posthumahiltjo@codemadness.orgcommit 3ec685a587b8404367c9c0fc6e2ec6a8f1b40c77
parent 0b1fba4c2076d4f687ad03f7c6eb202acfece173
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 22 Nov 2019 13:12:04 +0100
print and reset each style (do not reset all attributes)
reset all attributes at the end (in case of invalid HTML).
0b1fba4c2076d4f687ad03f7c6eb202acfece1732019-11-22T12:11:05Z2019-11-22T12:11:05Zadd one printansi function for printing ANSI codes or notHiltjo Posthumahiltjo@codemadness.orgcommit 0b1fba4c2076d4f687ad03f7c6eb202acfece173
parent d6a93314849f631b92ff6023e6e3bd0c2e7ca1ce
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 22 Nov 2019 13:11:05 +0100
add one printansi function for printing ANSI codes or not
d6a93314849f631b92ff6023e6e3bd0c2e7ca1ce2019-11-20T23:43:46Z2019-11-20T23:43:46Zprint reset sequence first, some small cleanupsHiltjo Posthumahiltjo@codemadness.orgcommit d6a93314849f631b92ff6023e6e3bd0c2e7ca1ce
parent 698358715695476320282cec4ced913cb7395555
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Thu, 21 Nov 2019 00:43:46 +0100
print reset sequence first, some small cleanups
698358715695476320282cec4ced913cb73955552019-11-20T23:38:15Z2019-11-20T23:38:15Zshow usage on invalid flag (or -h)Hiltjo Posthumahiltjo@codemadness.orgcommit 698358715695476320282cec4ced913cb7395555
parent b4ff11ec72b2811a10c271ffd0bcc4d6d15f1eec
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Thu, 21 Nov 2019 00:38:15 +0100
show usage on invalid flag (or -h)
b4ff11ec72b2811a10c271ffd0bcc4d6d15f1eec2019-11-20T23:37:19Z2019-11-20T23:37:19Zupdate TODOHiltjo Posthumahiltjo@codemadness.orgcommit b4ff11ec72b2811a10c271ffd0bcc4d6d15f1eec
parent 81e0e398237cc21c522de1678a96d7d9f8064389
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Thu, 21 Nov 2019 00:37:19 +0100
update TODO
81e0e398237cc21c522de1678a96d7d9f80643892019-11-20T23:37:02Z2019-11-20T23:37:02Zwebdump.1: minimal documentation for flagsHiltjo Posthumahiltjo@codemadness.orgcommit 81e0e398237cc21c522de1678a96d7d9f8064389
parent 45b58808b6fad12458215819093db4cbf40a6f09
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Thu, 21 Nov 2019 00:37:02 +0100
webdump.1: minimal documentation for flags
45b58808b6fad12458215819093db4cbf40a6f092019-11-20T23:36:29Z2019-11-20T23:36:29Zmake table cell header (th) and headers boldHiltjo Posthumahiltjo@codemadness.orgcommit 45b58808b6fad12458215819093db4cbf40a6f09
parent cb392adbd4c011cf9ccabe36ec8c96bbbd5769da
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Thu, 21 Nov 2019 00:36:29 +0100
make table cell header (th) and headers bold
cb392adbd4c011cf9ccabe36ec8c96bbbd5769da2019-11-20T23:36:10Z2019-11-20T23:36:10Zadd arg.h and option parsing: -b and -wHiltjo Posthumahiltjo@codemadness.orgcommit cb392adbd4c011cf9ccabe36ec8c96bbbd5769da
parent 4114c598f45d4e1176a018f6532545b622f8d0e0
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Thu, 21 Nov 2019 00:36:10 +0100
add arg.h and option parsing: -b and -w
4114c598f45d4e1176a018f6532545b622f8d0e02019-11-20T23:24:07Z2019-11-20T23:24:07Zmake (soft)line-wrapping an option, still WIP thoughHiltjo Posthumahiltjo@codemadness.orgcommit 4114c598f45d4e1176a018f6532545b622f8d0e0
parent 46afcf5acd4771e10f93530cd4108a14dc416564
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Thu, 21 Nov 2019 00:24:07 +0100
make (soft)line-wrapping an option, still WIP though
46afcf5acd4771e10f93530cd4108a14dc4165642019-11-20T23:18:22Z2019-11-20T23:18:22Zdefine some run-time options, change some optionsHiltjo Posthumahiltjo@codemadness.orgcommit 46afcf5acd4771e10f93530cd4108a14dc416564
parent 553dfc4b2c06d714579eba44fbdf812520477a51
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Thu, 21 Nov 2019 00:18:22 +0100
define some run-time options, change some options
553dfc4b2c06d714579eba44fbdf812520477a512019-11-20T23:03:22Z2019-11-20T23:03:22Zimprove table row and cell rendering a bitHiltjo Posthumahiltjo@codemadness.orgcommit 553dfc4b2c06d714579eba44fbdf812520477a51
parent 7c84c8c7f112f38ecf911f274c50b9eca2dfd6e2
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Thu, 21 Nov 2019 00:03:22 +0100
improve table row and cell rendering a bit
7c84c8c7f112f38ecf911f274c50b9eca2dfd6e22019-11-20T22:57:31Z2019-11-20T22:57:31Zadd formatting improvements from z3braHiltjo Posthumahiltjo@codemadness.orgcommit 7c84c8c7f112f38ecf911f274c50b9eca2dfd6e2
parent 70517df2a33adb49a59c451f58891a38449d20f8
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Wed, 20 Nov 2019 23:57:31 +0100
add formatting improvements from z3bra
- bigger list item indentation.
- for now use tabs as table-cell separator (until there is fancier table
rendering).
- change bullet item for list item to UTF-8 bullet item.
70517df2a33adb49a59c451f58891a38449d20f82019-11-20T22:49:57Z2019-11-20T22:49:57Zrm TODO commentHiltjo Posthumahiltjo@codemadness.orgcommit 70517df2a33adb49a59c451f58891a38449d20f8
parent c19b45dfe23bfa615aa965c574ae8f6e7a9864ec
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Wed, 20 Nov 2019 23:49:57 +0100
rm TODO comment
c19b45dfe23bfa615aa965c574ae8f6e7a9864ec2019-11-20T22:48:54Z2019-11-20T22:48:54ZTranslate semantic tags to ANSI escapesHiltjo Posthumahiltjo@codemadness.orgcommit c19b45dfe23bfa615aa965c574ae8f6e7a9864ec
parent 5f9f773188b1302892021161d0656bb57e0323c0
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Wed, 20 Nov 2019 23:48:54 +0100
Translate semantic tags to ANSI escapes
Based on ideas from z3bra, thanks.
Refactored a bit to make it more generic and reuse.
5f9f773188b1302892021161d0656bb57e0323c02019-11-20T22:30:21Z2019-11-20T22:30:21Zdisable (soft)-line wrappingHiltjo Posthumahiltjo@codemadness.orgcommit 5f9f773188b1302892021161d0656bb57e0323c0
parent 8ef0a95fe47d42ce8627c8aa7232a9eb1d4a172e
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Wed, 20 Nov 2019 23:30:21 +0100
disable (soft)-line wrapping
8ef0a95fe47d42ce8627c8aa7232a9eb1d4a172e2019-11-20T22:29:30Z2019-11-20T22:29:30Zrefactor nbsp handling and named entities to codepointsHiltjo Posthumahiltjo@codemadness.orgcommit 8ef0a95fe47d42ce8627c8aa7232a9eb1d4a172e
parent fc07cb6c73b027722f67b491899d9fc7f5fff505
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Wed, 20 Nov 2019 23:29:30 +0100
refactor nbsp handling and named entities to codepoints
fc07cb6c73b027722f67b491899d9fc7f5fff5052019-11-20T17:29:34Z2019-11-20T17:29:34Zrename count to nchildren, some cleanupsHiltjo Posthumahiltjo@codemadness.orgcommit fc07cb6c73b027722f67b491899d9fc7f5fff505
parent b86543ca5fdf0639730cfe957866904abbf398f1
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Wed, 20 Nov 2019 18:29:34 +0100
rename count to nchildren, some cleanups
b86543ca5fdf0639730cfe957866904abbf398f12019-11-20T17:24:24Z2019-11-20T17:24:24ZimprovementsHiltjo Posthumahiltjo@codemadness.orgcommit b86543ca5fdf0639730cfe957866904abbf398f1
parent 3bebb5f7caaf7ac19c3aa58571856ee27e2e418c
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Wed, 20 Nov 2019 18:24:24 +0100
improvements
- Add a soft line-wrapping mode: tries to wraps words to termwidth.
It can still be longer if the word is longer.
- Handle ordered and unordered lists and logic for numbering of nodes:
list items, table rows, table cells, etc.
- Handle properly. Output the UTF-8 codepoint.
- Much improved rendering of white-spaces (still needs some tweaks here and
there).
- Print <pre> content safely (no control-characters).
- Fix printing of ruler (<hr/>).
3bebb5f7caaf7ac19c3aa58571856ee27e2e418c2019-11-10T19:55:23Z2019-11-10T19:55:23ZMakefile: remove config.mk, simplifyHiltjo Posthumahiltjo@codemadness.orgcommit 3bebb5f7caaf7ac19c3aa58571856ee27e2e418c
parent bc99a8d588ffa6f168c4171613a213eb4a29cc75
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 10 Nov 2019 20:55:23 +0100
Makefile: remove config.mk, simplify
bc99a8d588ffa6f168c4171613a213eb4a29cc752019-09-23T07:38:44Z2019-09-23T07:38:44Zupdate TODOHiltjo Posthumahiltjo@codemadness.orgcommit bc99a8d588ffa6f168c4171613a213eb4a29cc75
parent f0d80eb0978a24a020847aa15f1f5f2cd8b4e469
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Mon, 23 Sep 2019 09:38:44 +0200
update TODO
f0d80eb0978a24a020847aa15f1f5f2cd8b4e4692019-09-22T18:16:57Z2019-09-22T18:16:57Zman page: remove copy-pasta line, prefix "DEBUG:" for debug lineHiltjo Posthumahiltjo@codemadness.orgcommit f0d80eb0978a24a020847aa15f1f5f2cd8b4e469
parent d8b340df62971844bafc357d981d9c03af741742
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 22 Sep 2019 20:16:57 +0200
man page: remove copy-pasta line, prefix "DEBUG:" for debug line
d8b340df62971844bafc357d981d9c03af7417422019-09-22T17:54:31Z2019-09-22T17:54:31Zadd TODO itemHiltjo Posthumahiltjo@codemadness.orgcommit d8b340df62971844bafc357d981d9c03af741742
parent ba6a6e188dd51d566586c46a21b296d9319fa149
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 22 Sep 2019 19:54:31 +0200
add TODO item
ba6a6e188dd51d566586c46a21b296d9319fa1492019-09-22T17:48:35Z2019-09-22T17:48:35Zfix bug in ignoring character in <style> or <script>Hiltjo Posthumahiltjo@codemadness.orgcommit ba6a6e188dd51d566586c46a21b296d9319fa149
parent ce36531a689dad978e803008ff0600aa7984e380
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 22 Sep 2019 19:48:35 +0200
fix bug in ignoring character in <style> or <script>
ce36531a689dad978e803008ff0600aa7984e3802019-09-22T17:45:06Z2019-09-22T17:45:06Zabsolute link references, add base href argument to programHiltjo Posthumahiltjo@codemadness.orgcommit ce36531a689dad978e803008ff0600aa7984e380
parent b089e00f076e857bbd8f9f1c316ab55891916aad
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 22 Sep 2019 19:45:06 +0200
absolute link references, add base href argument to program
make link references an #ifdef LINKREFS for now
b089e00f076e857bbd8f9f1c316ab55891916aad2019-09-22T17:19:13Z2019-09-22T17:19:13Zuse cflags, ldflags, fix directory name (sfeed copy-pasta)Hiltjo Posthumahiltjo@codemadness.orgcommit b089e00f076e857bbd8f9f1c316ab55891916aad
parent 2fd29f177b3495b50c4a335d7ffb6352d58bd9eb
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 22 Sep 2019 19:19:13 +0200
use cflags, ldflags, fix directory name (sfeed copy-pasta)
2fd29f177b3495b50c4a335d7ffb6352d58bd9eb2019-09-22T17:17:32Z2019-09-22T17:17:32Zfix make distHiltjo Posthumahiltjo@codemadness.orgcommit 2fd29f177b3495b50c4a335d7ffb6352d58bd9eb
parent f97e56d00c9acd861c2b702ab054fd8552453998
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 22 Sep 2019 19:17:32 +0200
fix make dist
f97e56d00c9acd861c2b702ab054fd85524539982019-09-22T17:16:52Z2019-09-22T17:16:52Zadd bare minimum man page for nowHiltjo Posthumahiltjo@codemadness.orgcommit f97e56d00c9acd861c2b702ab054fd8552453998
parent 09d3f6928ca9f9936b86c0a82a06551f15cbb6ee
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 22 Sep 2019 19:16:52 +0200
add bare minimum man page for now
09d3f6928ca9f9936b86c0a82a06551f15cbb6ee2019-09-22T17:14:58Z2019-09-22T17:14:58Zinitial MakefileHiltjo Posthumahiltjo@codemadness.orgcommit 09d3f6928ca9f9936b86c0a82a06551f15cbb6ee
parent b82529ac7152b6326161c23b267d7719090ba168
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 22 Sep 2019 19:14:58 +0200
initial Makefile
b82529ac7152b6326161c23b267d7719090ba1682019-09-22T17:14:41Z2019-09-22T17:14:41Zrename main.c to webdump.cHiltjo Posthumahiltjo@codemadness.orgcommit b82529ac7152b6326161c23b267d7719090ba168
parent f3f8b7d8e8f4b72c072488b524cfd0b08791fdb4
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 22 Sep 2019 19:14:41 +0200
rename main.c to webdump.c
f3f8b7d8e8f4b72c072488b524cfd0b08791fdb42019-09-22T17:10:00Z2019-09-22T17:10:00Zdisable display inline (#ifdef), its the default type nowHiltjo Posthumahiltjo@codemadness.orgcommit f3f8b7d8e8f4b72c072488b524cfd0b08791fdb4
parent 2a56590cbe1c1739171a28d4c30b5b318cb0b364
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 22 Sep 2019 19:10:00 +0200
disable display inline (#ifdef), its the default type now
2a56590cbe1c1739171a28d4c30b5b318cb0b3642019-09-21T18:02:18Z2019-09-21T18:02:18Ztesting improve white-space handlingHiltjo Posthumahiltjo@codemadness.orgcommit 2a56590cbe1c1739171a28d4c30b5b318cb0b364
parent e4a9e2404be2db1687430631e912f1809992a23b
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 21 Sep 2019 20:02:18 +0200
testing improve white-space handling
e4a9e2404be2db1687430631e912f1809992a23b2019-09-21T17:14:40Z2019-09-21T17:14:40Zhide tag if DisplayNone, separate white-space handlingHiltjo Posthumahiltjo@codemadness.orgcommit e4a9e2404be2db1687430631e912f1809992a23b
parent 4fea38d503fe668601fef6ffc9b21c94e24c542e
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 21 Sep 2019 19:14:40 +0200
hide tag if DisplayNone, separate white-space handling
4fea38d503fe668601fef6ffc9b21c94e24c542e2019-09-21T14:43:16Z2019-09-21T14:43:16Zshow "code" as pre for now, disable showing links for nowHiltjo Posthumahiltjo@codemadness.orgcommit 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
74ca65d0beb13f86344479079cc3bfcc924c30ae2019-09-21T14:37:58Z2019-09-21T14:37:58Zadd a few HTML5 tags, update TODO, tiny cleanupHiltjo Posthumahiltjo@codemadness.orgcommit 74ca65d0beb13f86344479079cc3bfcc924c30ae
parent 02ccf13986f580df16d65a35ceb8c334100d6ef6
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 21 Sep 2019 16:37:58 +0200
add a few HTML5 tags, update TODO, tiny cleanup
02ccf13986f580df16d65a35ceb8c334100d6ef62019-09-21T14:31:27Z2019-09-21T14:31:27Zadd strlcat, strlcpy, update README, TODO and display "code" inlineHiltjo Posthumahiltjo@codemadness.orgcommit 02ccf13986f580df16d65a35ceb8c334100d6ef6
parent fd8b8950efb4f0b5d2d2bb679b7ded6131725fb5
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 21 Sep 2019 16:31:27 +0200
add strlcat, strlcpy, update README, TODO and display "code" inline
fd8b8950efb4f0b5d2d2bb679b7ded6131725fb52019-09-21T14:25:35Z2019-09-21T14:25:35Zmore refactoring, update TODO and bump LICENSE yearHiltjo Posthumahiltjo@codemadness.orgcommit fd8b8950efb4f0b5d2d2bb679b7ded6131725fb5
parent d87d026a246edadd201b607c15881172ac2564f1
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 21 Sep 2019 16:25:35 +0200
more refactoring, update TODO and bump LICENSE year
d87d026a246edadd201b607c15881172ac2564f12019-09-21T13:41:34Z2019-09-21T13:41:34Zrefactor display type handlingHiltjo Posthumahiltjo@codemadness.orgcommit d87d026a246edadd201b607c15881172ac2564f1
parent 9ac2648a64f0b2d125da2a39ed8e8f4ff2e234b4
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 21 Sep 2019 15:41:34 +0200
refactor display type handling
9ac2648a64f0b2d125da2a39ed8e8f4ff2e234b42019-09-21T13:23:08Z2019-09-21T13:23:08ZimprovementsHiltjo Posthumahiltjo@codemadness.orgcommit 9ac2648a64f0b2d125da2a39ed8e8f4ff2e234b4
parent b708236e10ae2b6af6e62514f2ca159fd6eeeabd
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 21 Sep 2019 15:23:08 +0200
improvements
- initial url parsing and base href support (WIP).
- rename xstrdup and xcalloc to estrdup and ecalloc (exits on failure).
- show links inline, disable printing references at the bottom for now.
- update TODO.
b708236e10ae2b6af6e62514f2ca159fd6eeeabd2019-09-15T18:03:21Z2019-09-15T18:03:21Zsome improvementsHiltjo Posthumahiltjo@codemadness.orgcommit b708236e10ae2b6af6e62514f2ca159fd6eeeabd
parent 69314d208de2a232366a14a9c9fef7400e4e0647
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 15 Sep 2019 20:03:21 +0200
some improvements
- improve table rendering (in a hacky way for now).
- print some characters safe (disallow control-characters except TAB and
newline for now).
- print "Link references" before the links at the bottom.
- update TODO.
69314d208de2a232366a14a9c9fef7400e4e06472019-06-28T11:20:33Z2019-06-28T11:20:33Zupdate READMEHiltjo Posthumahiltjo@codemadness.orgcommit 69314d208de2a232366a14a9c9fef7400e4e0647
parent cd440128ab251321e18dc25802936a30cf25a5e9
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 28 Jun 2019 13:20:33 +0200
update README
cd440128ab251321e18dc25802936a30cf25a5e92019-06-27T17:41:13Z2019-06-27T17:41:13Zsync XML improvements from sfeedHiltjo Posthumahiltjo@codemadness.orgcommit cd440128ab251321e18dc25802936a30cf25a5e9
parent 0ac210d169689c8e8a33351adf6a2d06b9f7322d
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Thu, 27 Jun 2019 19:41:13 +0200
sync XML improvements from sfeed
0ac210d169689c8e8a33351adf6a2d06b9f7322d2019-06-27T17:40:15Z2019-06-27T17:40:15Zimprove tag handling, by pazz0Hiltjo Posthumahiltjo@codemadness.orgcommit 0ac210d169689c8e8a33351adf6a2d06b9f7322d
parent ec68d5635764887d323bc7e3e09c01fda411e865
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Thu, 27 Jun 2019 19:40:15 +0200
improve tag handling, by pazz0
example:
<pre>Das ist
ein Test</pre>
ec68d5635764887d323bc7e3e09c01fda411e8652019-06-27T17:37:07Z2019-06-27T17:37:07Zignore all within <script> or <style> (WIP)Hiltjo Posthumahiltjo@codemadness.orgcommit ec68d5635764887d323bc7e3e09c01fda411e865
parent 26361ccd0ab0f19276d7727b8f589b1109cfbfd1
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Thu, 27 Jun 2019 19:37:07 +0200
ignore all within <script> or <style> (WIP)
26361ccd0ab0f19276d7727b8f589b1109cfbfd12018-09-12T20:29:07Z2018-09-12T20:29:07Zadd work-in-progress code, listing of goals/scope and TODOHiltjo Posthumahiltjo@codemadness.orgcommit 26361ccd0ab0f19276d7727b8f589b1109cfbfd1
parent d22cedcf1a4d6a4066489e029ee2888d76308318
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Wed, 12 Sep 2018 22:29:07 +0200
add work-in-progress code, listing of goals/scope and TODO
d22cedcf1a4d6a4066489e029ee2888d763083182018-08-26T13:27:26Z2018-08-26T13:27:26Zxml: sync many XML parser improvementsHiltjo Posthumahiltjo@codemadness.orgcommit d22cedcf1a4d6a4066489e029ee2888d76308318
parent b0fd3fce528a98b283ee135d2a09da04191223c3
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 26 Aug 2018 15:27:26 +0200
xml: sync many XML parser improvements
b0fd3fce528a98b283ee135d2a09da04191223c32017-08-26T13:33:55Z2017-08-26T13:33:55Zimprove ignore tag handling, cleanup a bitHiltjo Posthumahiltjo@codemadness.orgcommit b0fd3fce528a98b283ee135d2a09da04191223c3
parent 0a87ef4d7cdee5b3b0fc5b5430edd21eb9dba8d4
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 26 Aug 2017 15:33:55 +0200
improve ignore tag handling, cleanup a bit
0a87ef4d7cdee5b3b0fc5b5430edd21eb9dba8d42017-08-26T10:49:21Z2017-08-26T10:49:21Zsimplify ignore tags parsingHiltjo Posthumahiltjo@codemadness.orgcommit 0a87ef4d7cdee5b3b0fc5b5430edd21eb9dba8d4
parent de7e902fa925618e4cfb24b044a18b5db2118b03
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 26 Aug 2017 12:49:21 +0200
simplify ignore tags parsing
de7e902fa925618e4cfb24b044a18b5db2118b032017-08-26T10:45:00Z2017-08-26T10:45:00Zremove code from block tag, add some TODOHiltjo Posthumahiltjo@codemadness.orgcommit de7e902fa925618e4cfb24b044a18b5db2118b03
parent d43a011c4cd01f75ec9169ce745d6d1e13958729
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 26 Aug 2017 12:45:00 +0200
remove code from block tag, add some TODO
d43a011c4cd01f75ec9169ce745d6d1e139587292017-08-24T22:29:06Z2017-08-24T22:29:06Zsimplify a bit, add <label> inline and <div> as block for nowHiltjo Posthumahiltjo@codemadness.orgcommit d43a011c4cd01f75ec9169ce745d6d1e13958729
parent ac91a742d386618a025609433e3e43b303272b3e
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 25 Aug 2017 00:29:06 +0200
simplify a bit, add <label> inline and <div> as block for now
ac91a742d386618a025609433e3e43b303272b3e2017-08-24T15:17:59Z2017-08-24T15:17:59Zinitial patch to ignore <script> and <style>Hiltjo Posthumahiltjo@codemadness.orgcommit ac91a742d386618a025609433e3e43b303272b3e
parent 54f38abd3722c07e900820343e7c5288c6b0fdce
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Thu, 24 Aug 2017 17:17:59 +0200
initial patch to ignore <script> and <style>
54f38abd3722c07e900820343e7c5288c6b0fdce2017-08-20T18:56:39Z2017-08-20T18:56:39Zremove preprocess code, compare tags and attribute case-insensitiveHiltjo Posthumahiltjo@codemadness.orgcommit 54f38abd3722c07e900820343e7c5288c6b0fdce
parent dacc8c21011cdd6f6c9dc4ebd177478b2151a2c1
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 20 Aug 2017 20:56:39 +0200
remove preprocess code, compare tags and attribute case-insensitive
idea to ignore literal tags (HTML).
dacc8c21011cdd6f6c9dc4ebd177478b2151a2c12017-08-20T18:19:56Z2017-08-20T18:19:56Zsupport th (hack), disable ignore tags for now (requires parser change)Hiltjo Posthumahiltjo@codemadness.orgcommit dacc8c21011cdd6f6c9dc4ebd177478b2151a2c1
parent 114efd43e79a417abbda2e8c427d9dd57b482bce
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 20 Aug 2017 20:19:56 +0200
support th (hack), disable ignore tags for now (requires parser change)
114efd43e79a417abbda2e8c427d9dd57b482bce2017-07-24T08:06:48Z2017-07-24T08:06:48ZwipHiltjo Posthumahiltjo@codemadness.orgcommit 114efd43e79a417abbda2e8c427d9dd57b482bce
parent ea14e82082be78917aaa6e380879c0e230330b47
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Mon, 24 Jul 2017 10:06:48 +0200
wip
ea14e82082be78917aaa6e380879c0e230330b472017-07-22T21:49:01Z2017-07-22T21:49:01Zimprove whitespace handling (needs more work)Hiltjo Posthumahiltjo@codemadness.orgcommit ea14e82082be78917aaa6e380879c0e230330b47
parent 421341e1a2b737cb269a144a1634511705161651
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 22 Jul 2017 23:49:01 +0200
improve whitespace handling (needs more work)
421341e1a2b737cb269a144a16345117051616512017-07-22T14:02:56Z2017-07-22T14:02:56Zinitial support to ignore tags (script and CSS)Hiltjo Posthumahiltjo@codemadness.orgcommit 421341e1a2b737cb269a144a1634511705161651
parent 6dae546b7c15b859321849c8b7b7294e6d916adc
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 22 Jul 2017 16:02:56 +0200
initial support to ignore tags (script and CSS)
this is not fully working yet because scripts can contain literal characters
such as < and >.
6dae546b7c15b859321849c8b7b7294e6d916adc2017-07-22T13:46:15Z2017-07-22T13:46:15Zsimplify cdata handler, show src attribute (disabled for now)Hiltjo Posthumahiltjo@codemadness.orgcommit 6dae546b7c15b859321849c8b7b7294e6d916adc
parent db8bb6f1a0e1ca29e8cdfd8a6c098fc1076fea80
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 22 Jul 2017 15:46:15 +0200
simplify cdata handler, show src attribute (disabled for now)
db8bb6f1a0e1ca29e8cdfd8a6c098fc1076fea802017-07-22T13:29:22Z2017-07-22T13:29:22Zsimplify pre-like tags parsing, support some basic entitiesHiltjo Posthumahiltjo@codemadness.orgcommit db8bb6f1a0e1ca29e8cdfd8a6c098fc1076fea80
parent 6437b1c9d5dd27a1e29e10bda42264127383281e
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 22 Jul 2017 15:29:22 +0200
simplify pre-like tags parsing, support some basic entities
remove comment handling
6437b1c9d5dd27a1e29e10bda42264127383281e2017-07-22T13:14:02Z2017-07-22T13:14:02Zsimplify tag type matching, add nested list-item support...Hiltjo Posthumahiltjo@codemadness.orgcommit 6437b1c9d5dd27a1e29e10bda42264127383281e
parent dcc69463abb4a70f95b6126629e5d6ab57e393e3
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 22 Jul 2017 15:14:02 +0200
simplify tag type matching, add nested list-item support...
... indicate page headers (will be improved).
dcc69463abb4a70f95b6126629e5d6ab57e393e32017-07-22T12:36:51Z2017-07-22T12:36:51Zinitial repo (experiment)Hiltjo Posthumahiltjo@codemadness.orgcommit dcc69463abb4a70f95b6126629e5d6ab57e393e3
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 22 Jul 2017 14:36:51 +0200
initial repo (experiment)