Author: jmb
Date: Sun Apr 1 21:21:58 2007
New Revision: 3231
URL:
http://svn.semichrome.net?rev=3231&view=rev
Log:
Recognise <image> as a synonym for <img> (fixes 1692426)
Modified:
trunk/netsurf/render/box_construct.c
Modified: trunk/netsurf/render/box_construct.c
URL:
http://svn.semichrome.net/trunk/netsurf/render/box_construct.c?rev=3231&a...
==============================================================================
--- trunk/netsurf/render/box_construct.c (original)
+++ trunk/netsurf/render/box_construct.c Sun Apr 1 21:21:58 2007
@@ -139,6 +139,7 @@
{"form", box_form},
{"frameset", box_frameset},
{"iframe", box_iframe},
+ {"image", box_image},
{"img", box_image},
{"input", box_input},
{"object", box_object},
@@ -949,6 +950,7 @@
}
if ((strcmp((const char *) n->name, "img") == 0) ||
+ (strcmp((const char *) n->name, "image") == 0) ||
(strcmp((const char *) n->name, "applet") == 0)) {
if ((s = (char *) xmlGetProp(n,
(const xmlChar *) "hspace"))) {