Wrong HTML parsing assumptions
-
After fixing the Settings page I tried the shortcode and it came up blank. I looked at errors.log and noticed this:
PHP Warning: simplexml_load_string(): Entity: line 2: parser er
ror : AttValue: ” or ‘ expected in […]/plugins/h-gallery/h-gallery.php on line 55
PHP Warning: simplexml_load_string(): <html lang=en> in […]/plugins/h-gallery/h-gallery.php on l
ine 55
PHP Warning: simplexml_load_string(): ^ in […]/plugins/h-gallery/h-gallery.php on lin
e 55
[ad nauseum]This is just wrong. Quotes have never been required in any version of HTML if the attribute value consists solely of letters, digits, and hyphens.
- The topic ‘Wrong HTML parsing assumptions’ is closed to new replies.