diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-02-06 17:09:19 +0100 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-02-06 17:09:19 +0100 |
commit | 1a81e3673da0b48a19fc1f80831c01fb06b3b179 (patch) | |
tree | f5b6c8c0c92ae0b839db2ed903b9b440d93216d8 /src/html.cc | |
parent | ca9b558f4444e7f3e8bde5f72d2ec138ab6cb0ed (diff) |
fix tag length check (noticed by corvid)
Diffstat (limited to 'src/html.cc')
-rw-r--r-- | src/html.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/html.cc b/src/html.cc index 1f375da3..83462849 100644 --- a/src/html.cc +++ b/src/html.cc @@ -3330,7 +3330,7 @@ static void Html_parse_common_attrs(DilloHtml *html, char *tag, int tagsize) 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) |