a.binder 6 years ago
parent
commit
23a803db8e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      SE/schema/default_db_xml_cache.public/escaped_html_to_xml.xsl

+ 2 - 2
SE/schema/default_db_xml_cache.public/escaped_html_to_xml.xsl

@@ -236,11 +236,11 @@ W przypadku chęci ograniczenia w początkowej fazie wdrażania systemu jakości
                                         <xsl:attribute name="new_gr" select="1"/>
                                     </xsl:otherwise>
                                 </xsl:choose>
-                                <xsl:attribute name="element" select="text()"/>
+                                <xsl:attribute name="element" select="tokenize(text(),' ')[1]"/><!-- text() -->
                             </xsl:when>
                             <xsl:when test="@is_tag=true() and @closing=true()">
                                 <xsl:attribute name="level" select="-1"/>
-                                <xsl:attribute name="element" select="text()"/>
+                                <xsl:attribute name="element" select="tokenize(text(),' ')[1]"/>
                             </xsl:when>
                         </xsl:choose>
                     </gt>