Page MenuHomePhabricator

Images with size set as "125 px" rather than "125px" don't set size in HTML output
Closed, ResolvedPublic

Description

Templates support image sizing in pixels in the form of either "125px" or "125 px". If the latter is used, the VE fails to parse it - when the page is opened in the VE, the image appears full-sized.


Version: unspecified
Severity: normal

Details

Reference
bz49696

Event Timeline

bzimport raised the priority of this task from to Normal.Nov 22 2014, 1:58 AM
bzimport added a project: Parsoid.
bzimport set Reference to bz49696.

This is an issue in Parsoid - see:

[[File:Example.png|125 px|Foo]]

vs.

[[File:Example.png|125px|Foo]]

in terms of Parsoid output.

Related URL: https://gerrit.wikimedia.org/r/70573 (Gerrit Change I6acc37c3d505a7ab1a1bb9ddc562a4a44e2e093e)

  • Bug 50207 has been marked as a duplicate of this bug. ***

https://gerrit.wikimedia.org/r/70573 (Gerrit Change I6acc37c3d505a7ab1a1bb9ddc562a4a44e2e093e) | change APPROVED and MERGED [by jenkins-bot]

Fix deployed.

[Parsoid component reorg by merging JS/General and General. See bug 50685 for more information. Filter bugmail on this comment. parsoidreorg20130704]