Author: alj62888
Description:
I'm issuing this request:
?action=query&export=&exportnowrap&titles=SusData:testpage&redirects=
and the content of element <mediawiki><page><revision><text> is all one long line.
I also tried it by getting a revision with the following:
?action=query&prop=revisions&rvprop=content&rvlimit=1&titles=SusData:testpage&redirects=&format=xml
Newlines are preserved with format=xmlfm, but, NOT with format=xml. Using xmlfm would require two parsings of the output, one for HTML and a second for XML.
I don't know of a workaround, but would like to know if there is one.
Thanks,
al
Version: 1.20.x
Severity: major
OS: Linux