Mercurial > dillo_port1.3
changeset 902:d374a34c891f
fix tag length check (noticed by corvid)
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> |
---|---|
date | Fri, 06 Feb 2009 17:09:19 +0100 |
parents | f44e88b06200 |
children | 45830a274847 |
files | src/html.cc |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/html.cc Fri Feb 06 12:36:31 2009 +0100 +++ b/src/html.cc Fri Feb 06 17:09:19 2009 +0100 @@ -3330,7 +3330,7 @@ Html_add_anchor(html, attrbuf); } - if (tagsize >= 10) { /* length of "<t class=i>" */ + if (tagsize >= 11) { /* length of "<t class=i>" */ attrbuf = Html_get_attr2(html, tag, tagsize, "class", HTML_LeftTrim | HTML_RightTrim); if (attrbuf)