- Timestamp:
- 2018-11-14T10:02:08+13:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/web/interfaces/default/transform/config_format.xsl
r32503 r32601 127 127 </xsl:for-each> 128 128 <xsl:apply-templates/> 129 <xslt:value-of select="''" /> 129 <xslt:value-of select="''" /> <!-- to ensure that the div tag does not collapse into one of the form <div/> --> 130 130 </div> 131 131 </xsl:template> 132 132 133 <xsl:template match="gsf:dquote"><xslt:text disable-output-escaping="yes">"</xslt:text></xsl:template> 134 <!-- 135 While double-quotes do map to entities in HTML, technically single quotes don't need to go through 136 this process: they can just be typed literally, and so this means there isn't strictly a need 137 for the following rule, but included for completeness. A long time ago it might have been that IE 138 did need the character to be entity-mapped --> 139 <xsl:template match="gsf:squote"><xslt:text disable-output-escaping="yes">'</xslt:text></xsl:template> 140 133 141 <xsl:template match="gsf:image"> 134 142 <xslt:variable name="metaName"> … … 334 342 <!-- a document link --> 335 343 <xslt:variable name="bookswitch"> 336 344 <xslt:value-of select="/page/pageRequest/paramList/param[@name='book']/@value"/> 337 345 </xslt:variable> 346 338 347 <a> 339 348 <xsl:if test="@target">
Note:
See TracChangeset
for help on using the changeset viewer.