On 02/13/2019 08:56 PM, Gerd Wagner wrote:
When I set xml:space to "preserve" for a triple space character sequence
(" ") in an ebook HTML division

This is somewhat unusual.



and then generate HTML

I would say that you must additionally specify CSS property "white-space: pre;" for this kind of div. I mean, xml:space="preserve" alone is not sufficient.



and PDF, I don't
see a triple space " " as expected, but a single space " ".


CSS property "white-space: pre;" could be automatically translated to XSL-FO just like some other CSS properties are. However, this is currently not the case. Sorry.

More information in the documentation of XSLT stylesheet parameter "apply-css-styles", http://www.xmlmind.com/ebookc/_distrib/doc/manual/html/foParams.html#foParams__apply-css-styles


--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to