Page MenuHomePhabricator

formatversion=2 swallows up spaces sometimes on line breaks
Closed, DuplicatePublicBUG REPORT

Description

Steps to Reproduce:

Example:
https://de.wikipedia.org/w/api.php?format=jsonfm&action=query&prop=extracts&titles=Omelett&redirects=true&formatversion=2&explaintext=true&exlimit=1
Original page: https://de.wikipedia.org/wiki/Omelett

Actual Results:

No space after the sentence.

[...] in Österreich noch ein 'n antreten.Das Wort stammt aus dem Französischen [...]

Expected Results:

Space between the two sentences.

[...] in Österreich noch ein 'n antreten. Das Wort stammt aus dem Französischen [...]

This might be caused by the reference at the line break, but that is only an assumption.

Reference:

https://github.com/petergtz/alexa-wikipedia/issues/37

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

This has nothing to do with formatversion=2.

Alright, thanks for getting that right, did not find that issue on a quick search.