sheet.xsl: improve element content output

master
pictuga 2020-03-20 15:44:25 +01:00
parent 4d785820d9
commit 3d45451fef
1 changed files with 5 additions and 1 deletions

View File

@ -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>