Web browser: ---
            Bug ID: 59266
           Summary: Cite: Parsoid's port should accept unclosed
                    <references> tag and generate references
           Product: Parsoid
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: General
    Classification: Unclassified
   Mobile Platform: ---

See example output below. Parsoid only accepts <references /> or
<references>..<references/> but converts <references> to plain text. 


[subbu@earth lib] echo "a<ref>foo</ref>\n\n<references>" | node parse 
<body data-parsoid='{"dsr":[0,30,0,0]}'><p
data-parsoid='{"dsr":[0,15,0,0]}'>a<span about="#mwt2" class="reference"
data-mw='{"name":"ref","body":{"html":"foo"},"attrs":{}}' id="cite_ref-1-0"
rel="dc:references" typeof="mw:Extension/ref"

<p data-parsoid='{"dsr":[17,29,0,0]}'>&lt;references></p>


However, PHP parser seems to generate references output in this scenario. See and the source there.

You are receiving this mail because:
You are on the CC list for the bug.
Wikibugs-l mailing list

Reply via email to