On Sat, Sep 19, 2015 at 1:37 PM, Nicolas Vervelle <[email protected]>
wrote:

> sometimes, the text that I give to the API ends with a new line, but in
> the result that new line is removed.
> Is it normal ? Is there a way around this ?
>

Yes, it's normal. The workaround is to handle any trailing whitespace you
need preserved yourself instead of passing it through the parser.


-- 
Brad Jorsch (Anomie)
Senior Software Engineer
Wikimedia Foundation
_______________________________________________
Mediawiki-api mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api

Reply via email to