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

       Web browser: ---
            Bug ID: 57360
           Summary: Fix parsing of "|}" on non-empty lines (table end tag
                    should always be on a new line)
           Product: Parsoid
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: tokenizer
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified
   Mobile Platform: ---

PHP parser does not recognize "|}" as a table closing tag on a non-empty line
(which is how we end up with a pages on WPs with stray trailing |} wikitext on
some lines). However, Parsoid recognizes them as a valid closing tag which then
causes us to spectacularly bomb on those pages (Parsoid tries to recover and
fix up, etc. but which doesn't always work).

The right fix is to fix the tokenizer to require "|}" to be on a new line
(leading whitespace and and other sol-transparent text should be fine).

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