Changeset 29271


Ignore:
Timestamp:
2014-09-11T16:13:56+12:00 (9 years ago)
Author:
ak19
Message:

Implementing a space separator. Now the GS3 tutorials don't need to be modified.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/interfaces/default/transform/config_format.xsl

    r29245 r29271  
    455455                <xsl:choose>
    456456                    <xsl:when test="@separator">
    457                         <xsl:value-of disable-output-escaping='yes' select="@separator"/>
     457                      <xsl:choose>
     458                        <xsl:when test="@separator = ' '">
     459                          <!-- http://stackoverflow.com/questions/1461649/how-to-insert-nbsp-in-xslt -->
     460                          <xsl:text>&#160;</xsl:text>
     461                          <!--<xsl:text> </xsl:text> only works in GLI's Format panel-->
     462                          <!--<xsl:text disable-output-escaping="yes"><![CDATA[&nbsp;]]></xsl:text>-->
     463                        </xsl:when>
     464                        <xsl:otherwise>
     465                          <xsl:value-of disable-output-escaping='yes' select="@separator"/>
     466                        </xsl:otherwise>
     467                      </xsl:choose>
    458468                    </xsl:when>
    459469                    <xsl:when test="separator">
Note: See TracChangeset for help on using the changeset viewer.