Page MenuHomePhabricator

bad xhtml formation in page rendering when updating a image
Closed, DeclinedPublic

Description

Author: sspecter

Description:
Hi

I have a wiki in xhml and Im having some problem
When I post a image, and then update it to another image the xhtml brake up due
to a bad-formed tag, which contain tag inside tag and bad formed strings inside
the tag string.

The bad formed tag is the following:
<a href="/wiki/index.php?title=Special:Upload&amp;wpDestFile=%241" class="new"
title="Imagem:<a href="/wiki/images/8/83/image_name.gif" class="internal"
title="image_name.gif">Funcoes circulares.gif</a>">

Although the image update is always successful, doing it in xhtml wikis/skins
will always lead to a broken page.


Version: 1.9.x
Severity: minor

Details

Reference
bz9095

Related Objects

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:38 PM
bzimport set Reference to bz9095.
bzimport added a subscriber: Unknown Object (MLST).

sspecter wrote:

Correction: the bad formed tag is (as my wiki is in portuguese and i mixed
portuguese+english):
<a href="/wiki/index.php?title=Special:Upload&amp;wpDestFile=%241" class="new"
title="Image:<a href="/wiki/images/8/83/image_name.gif" class="internal"
title="image_name.gif">image_name.gif</a>">

Can't seem to find/replicate this anywhere. Closing as WFM.