diff options
Diffstat (limited to 'filter/source/xslt')
-rw-r--r-- | filter/source/xslt/odf2xhtml/export/xhtml/header.xsl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/filter/source/xslt/odf2xhtml/export/xhtml/header.xsl b/filter/source/xslt/odf2xhtml/export/xhtml/header.xsl index b75d6ff7cfda..526e5cc56ae8 100644 --- a/filter/source/xslt/odf2xhtml/export/xhtml/header.xsl +++ b/filter/source/xslt/odf2xhtml/export/xhtml/header.xsl @@ -93,6 +93,12 @@ </xsl:choose> <xsl:text>h1, h2, h3, h4, h5, h6 { clear:both;} </xsl:text> +<xsl:choose> + <xsl:when test="/*/office:body/office:spreadsheet"> + <xsl:text>p { white-space: nowrap; } + </xsl:text> + </xsl:when> +</xsl:choose> <xsl:text>ol, ul { margin:0; padding:0;} </xsl:text> <xsl:text>li { list-style: none; margin:0; padding:0;} |