Citation references are zero-indexed rather than one-indexed in target names
Closed, ResolvedPublic

Description

In the current Parsoid integration (through the PHP parser) of the Citation extensions, its references are zero-indexed rather than one-indexed in target names - this means that the generated HTML from Parsoid looks (roughly) like:

<li id="cite_note-Foo-0" data-parsoid="…"><a href="#cite_ref-Foo-0-0" data-parsoid="…">↑</a>…</li>

... rather than:

<li id="cite_note-Foo-1"><a href="#cite_ref-Foo-1-0">↑</a>…</li>


Version: unspecified
Severity: trivial

Details

Reference
bz43236
bzimport set Reference to bz43236.

Same reason as those other bugs: We are using our own Cite extension implementation (no PHP involved) that differs in details like these. Easy to adjust though.

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

Add Comment