https://bugzilla.wikimedia.org/show_bug.cgi?id=54454

James Forrester <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
          Component|General                     |General
           Assignee|[email protected]    |[email protected]
            Product|VisualEditor                |Parsoid
            Summary|Bold text appears correctly |Broken wikitext with bold
                   |in editor, but not on       |inside and outside a label
                   |displayed page              |wrongly interpretted as
                   |                            |correct by Parsoid

--- Comment #1 from James Forrester <[email protected]> ---
I have fixed the particular problem with this edit:
https://en.wikipedia.org/w/index.php?title=International_Air_Transport_Association_airport_code&diff=574406042&oldid=574202912

This is caused by a bug in Parsoid, I believe, which is wrongly interpretting
wikitext as valid when it should be invalid. Specifically:

  '''[[Foo|F'''oo '''B'''ar]]

… as …

  <b><a href=Foo>F</a></b><a href=Foo>oo </a><b><a href=Foo>B</a></b><a
href=Foo>ar</a>

… whereas it should result in broken HTML, per the PHP parser (post-Tidy), as:

  <b><a href=Foo>F<b>oo </b>B<b>ar</b></a>

The broken wikitext was added in
https://en.wikipedia.org/w/index.php?title=International_Air_Transport_Association_airport_code&diff=568156811&oldid=568156261
which isn't tagged as a VisualEditor edit but possibly could have been (and a
secondary bug means it isn't tagged) - will investigate separately.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to