2012-01-07 wblock@freebsd.org Tidy tab replacement bug in
elements Tabs in the first line of HTMLelements are replaced with the wrong number of spaces. (This text and the pretab.html example file available at http://www.wonkity.com/~wblock/tidy/) Example unprocessed HTML: -------- That is a tab and two spaces before "struct". Now process it with tidy: % tidy -wrap 90 -raw -preserve -f /dev/null -asxml pretab.html ----Sample with tabs in PRE elements struct driver { KOBJ_CLASS_FIELDS; void *priv; /* driver private data */ };Sample with tabs in PRE elements struct driver { KOBJ_CLASS_FIELDS; void *priv; /* driver private data */ };---- Note that there are only *nine* spaces instead of ten before "struct", and it no longer aligns with the closing bracket. Tidy versions tested: FreeBSD port www/tidy (tidy4-20000804_3) tidy4 -v HTML Tidy release date: 4th August 2000 See http://www.w3.org/People/Raggett for details FreeBSD port www/tidy-devel (tidy-devel-090315.c_1) tidy -v HTML Tidy for FreeBSD released on 7 December 2008