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 Medium.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.

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

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

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