On Thu, Feb 23, 2017 at 04:00:23PM -0500, Hal.sz S.ndor wrote: > Has Lynx a mode wherin it reports such errors: > <p> <b> </p> <p> </b> > ...?
no - sometimes it logs problems with nesting in the trace file, but I don't see it with this example. Mostly I use tidy in a filter that makes the messages easy to step through with vile's error-finder: #!/bin/sh # patterns like # line 2267 column 1 - Warning: trimming empty <dt> for i in $* do tidy -e $i 2>&1 | egrep '^line ' |sed -e 's%^line %'$i':%' -e 's% column \([0-9]\+\)%:\1:%' done /tmp/foo.html:1:1: - Warning: missing <!DOCTYPE> declaration /tmp/foo.html:1:1: - Warning: inserting implicit <body> /tmp/foo.html:1:5: - Warning: missing </b> before </p> /tmp/foo.html:1:17: - Warning: inserting implicit <b> /tmp/foo.html:1:1: - Warning: inserting missing 'title' element /tmp/foo.html:1:5: - Warning: trimming empty <b> /tmp/foo.html:1:1: - Warning: trimming empty <p> /tmp/foo.html:1:17: - Warning: trimming empty <b> (thinking about it, I should quote the "$i" - but hadn't changed the script since I wrote it in 2003...) -- Thomas E. Dickey <[email protected]> http://invisible-island.net ftp://invisible-island.net
signature.asc
Description: Digital signature
_______________________________________________ Lynx-dev mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lynx-dev
