[Mediawiki-l] Firefox and HTML

Rowan Collins rowan.collins at gmail.com
Wed Apr 13 10:44:47 UTC 2005


On 4/13/05, sebastian n/a <vogel_sebastian at hotmail.com> wrote:
> I activated raw HTML and everything seems to be fine in IE,
> yet it does not display correctly in Firefox.
> In Firefox images don´t appear...
> 
> Is there anything I can do?

What HTML exactly are you using to insert these images? Specifically,
are you closing the elements, XML-style, as in:
<img src="foo.jpeg" alt="a picture" /> 
(note the / at the end). MediaWiki generates pages which declare
themselves to be (and attempt to adhere to) XHTML, which will put
Firefox into "Standards compliance mode"; in XHTML (being XML),
everything has to be closed, so an image tag without the extra '/'
(which is fine in "normal" HTML) is technically an error. It's just a
guess, but this could cause things to disappear.

I wonder if the "tidy" utility, for which MediaWiki already has some
integration, would be able to clean that up for you...

-- 
Rowan Collins BSc
[IMSoP]



More information about the MediaWiki-l mailing list