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

       Web browser: ---
            Bug ID: 57650
           Summary: Parsoid: Things that look like <pre> tags (e.g.
                    <President>) are treated as such
           Product: Parsoid
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: serializer
          Assignee: gwi...@wikimedia.org
          Reporter: roan.katt...@gmail.com
                CC: ssas...@wikimedia.org
    Classification: Unclassified
   Mobile Platform: ---

$ (echo ':Barack Obama <President> of the United States'; echo ':Joe Biden') |
node js/tests/parse.js

WARNING: DSR inconsistency: cs/s mismatch for node: PRE s: 25; cs: 19
<body data-parsoid='{"dsr":[0,58,0,0]}'><dl
data-parsoid='{"dsr":[0,58,0,0]}'><dd data-parsoid='{"dsr":[0,58,1,0]}'>Barack
Obama <pre
data-parsoid='{"stx":"html","a":{"sident":null},"sa":{"sident":""},"dsr":[14,58,11,6]}'>
of the United States
:Joe Biden
</pre></dd></dl></body>

The expected result would be something like <dl><dd>Barack Obama
&lt;President&gt; of the United States</dd><dd>Joe Biden</dd></dl> . There
should be no pre tags, and the colon should not appear as literal text.

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

Reply via email to