Page MenuHomePhabricator

When the page ends with an unclosed HTML comment, content added afterwards appears inside the comment
Closed, DeclinedPublic

Description

When the page ends with an unclosed HTML comment, content added afterwards appears inside the comment.

https://en.wikipedia.org/?diff=1077554813

Event Timeline

ssastry subscribed.

Is there any reason for us to try to deal with this edge case beyond saying "Fix the wikitext" ? Please reopen if so.

Well, just the usual reason that it makes Parsoid-based editing tools unreliable? From my perspective, this is no different than T252464 or T284023 (although I understand that internally, these cases are handled very differently).

This does appear to be the expected behavior - but wondering if perhaps "unclosed html comment tags" could be included in lint errors for cleanup?