Last modified: 2013-07-04 10:34:26 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T51750, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 49750 - HTML comments are ignored for some purposes in MW PHP parser but not in Parsoid
HTML comments are ignored for some purposes in MW PHP parser but not in Parsoid
Status: RESOLVED WONTFIX
Product: Parsoid
Classification: Unclassified
General (Other open bugs)
unspecified
All All
: Unprioritized trivial
: ---
Assigned To: Gabriel Wicke
https://en.wikipedia.org/wiki/User:Ke...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-18 15:19 UTC by James Forrester
Modified: 2013-07-04 10:34 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description James Forrester 2013-06-18 15:19:16 UTC
MW outputs &#<!-- foo -->61; or &#<!-- 

foo
bar

-->61; as if it were &#61; (and so an "=" sign).
Comment 1 Gabriel Wicke 2013-06-18 15:25:34 UTC
The PHP parser strips comments completely, we need to preserve them. We don't plan to support comments in the middle of HTML entities (as in this case) or things like [<!-- look at this -->[link]]. See http://www.mediawiki.org/wiki/Parsoid/limitations#Comments_in_arbitrary_places.
Comment 2 Andre Klapper 2013-07-04 10:34:26 UTC
[Parsoid component reorg by merging JS/General and General. See bug 50685 for more information. Filter bugmail on this comment. parsoidreorg20130704]

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links