sheet.xsl: improve element content output
parent
4d785820d9
commit
3d45451fef
|
@ -30,6 +30,10 @@
|
||||||
|
|
||||||
pre {
|
pre {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
max-width: 100%;
|
||||||
|
white-space: normal;
|
||||||
|
overflow-wrap: anywhere;
|
||||||
|
word-wrap: anywhere;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
@ -73,7 +77,7 @@
|
||||||
<xsl:template match="text()">
|
<xsl:template match="text()">
|
||||||
<li>
|
<li>
|
||||||
<pre>
|
<pre>
|
||||||
<xsl:value-of select="."/>
|
<xsl:value-of select="normalize-space(.)"/>
|
||||||
</pre>
|
</pre>
|
||||||
</li>
|
</li>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
Loading…
Reference in New Issue