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

Gabriel Wicke <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|VisualEditor: Plaintext     |Parsoid: Escape plaintext
                   |three-tildes ~~~ are        |three-tildes ~~~ are
                   |expanded to signature       |expanded to signature
                   |unexpectedly                |unexpectedly

--- Comment #5 from Gabriel Wicke <[email protected]> 2012-08-06 22:37:38 
UTC ---
We don't recognize tildes in the tokenizer yet, which would also be the reason
why they are not yet escaped. Tildes are already included in syntactic stops
used by urltext, but there is no production actually matching them. Should be
relatively easy to add.

For regular Wikitext->HTML parsing, those tildes need to be converted back to
plain text however (essentially ignored), as they are normally only processed
in a pre-save transform. 

An alternative (and arguably simpler) solution would be a simple regexp-based
escape rule in escapeWikitext.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to