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

--- Comment #9 from PleaseStand <[email protected]> ---
What about two or more consecutive newlines? Should all newlines be escaped
(not just those preceding #, *, etc.)?

For example:

> $m = new RawMessage( '$1' ); var_dump( $m->params( wfEscapeWikiText( 
> "foo\n\n\nbar" ) )->parse() );

As of a86240a37aa729494bd4d7c7935afff4e5b62b22 I get:

string(21) "foo\n</p><p><br />\nbar"

I would expect this to be:

string(21) "foo&#10;&#10;&#10;bar"

-- 
You are receiving this mail because:
You are the assignee for the bug.
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