Mismatched img tag on docs blog post.

RESOLVED FIXED

Status

Mozilla Messaging
Release Engineering
RESOLVED FIXED
9 years ago
9 years ago

People

(Reporter: standard8, Assigned: jenzed)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(1 attachment)

(Reporter)

Description

9 years ago
I'm seeing this in Thunderbird as I'm subscribed to the docs feed.

Error: mismatched tag. Expected: </img>.
Source File: http://blogs.mozillamessaging.com/docs/feeds/posts/default/
Line: 134, Column: 246
Source Code:
  <div id="text-463071331" class="widget widget_text">      <div class="textwidget"><a href="http://www.mozillamessaging.com/en-US/thunderbird/" target="blank"><img src="http://blogs.mozillamessaging.com/docs/files/2009/06/stb_blue_0_110.jpg"></a></div>
From: http://validator.w3.org/check?uri=http%3A%2F%2Fblogs.mozillamessaging.com%2Fdocs%2Ffeeds%2Fposts%2Fdefault%2F&charset=(detect+automatically)&doctype=Inline&group=0

"
#  Error  Line 134, Column 247: end tag for "img" omitted, but OMITTAG NO was specified

You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".
"

Looks like the DTD specifies XHTML 1.0 Transitional and that it isn't correct.
Assignee: nobody → jenzed
Created attachment 391074 [details] [diff] [review]
Close image tags

The solution that seems to keep the validator is to close the 3 images tags, i.e.

<img ...> to <img ... />

Probably needs changing in the templates used for that blog. Jen ?
Managed to fix the Widgets myself, and now, looking at the validator:

This document was successfully checked as XHTML 1.0 Transitional!
Status: NEW → RESOLVED
Last Resolved: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.