Skip to content

Commit

Permalink
userdict.xsl: command arguments are now four characters long (Pleco 3…
Browse files Browse the repository at this point in the history
….2.26/Android)
  • Loading branch information
rouseabout committed Mar 20, 2016
1 parent 9b4ad04 commit db04315
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions userdict.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@
<!ENTITY pleco-invert-close "&#xEABD;">
<!ENTITY pleco-altfont-open "&#xEABE;">
<!ENTITY pleco-altfont-close "&#xEABF;">
<!ENTITY pleco-color-open "&#xEAC1;"><!-- followed by two octet parameters -->
<!ENTITY pleco-color-open "&#xEAC1;"><!-- followed by four characters (Pleco 3.2.26/Android) -->
<!ENTITY pleco-color-close "&#xEAC2;">
<!ENTITY pleco-block-open "&#xEAC3;"><!-- followed by two octet parameters -->
<!ENTITY pleco-block-open "&#xEAC3;"><!-- followed by four characters (Pleco 3.2.26/Android) -->
<!ENTITY pleco-block-close "&#xEAC4;">
<!ENTITY pleco-size-open "&#xEAC5;"><!-- followed by two octet parameters (font size, unknown) -->
<!ENTITY pleco-size-open "&#xEAC5;"><!-- followed by four characters (Pleco 3.2.26/Android) -->
<!ENTITY pleco-size-close "&#xEAC6;">
<!ENTITY pleco-hr "&#xEAC7;"><!-- followed by two octet parameters -->
<!ENTITY pleco-hr "&#xEAC7;"><!-- followed by four characters (Pleco 3.2.26/Android) -->
]>
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

Expand Down Expand Up @@ -114,7 +114,11 @@

<xsl:template name="out-p">
<xsl:param name="text"/>
<xsl:text>&pleco-block-open;@@</xsl:text>
<xsl:text>&pleco-block-open;</xsl:text>
<xsl:value-of select="codepoints-to-string(32)"/>
<xsl:value-of select="codepoints-to-string(36)"/>
<xsl:value-of select="codepoints-to-string(32)"/>
<xsl:value-of select="codepoints-to-string(32)"/>
<xsl:copy-of select="$text"/>
<xsl:text>&pleco-block-close;</xsl:text>
</xsl:template>
Expand Down

0 comments on commit db04315

Please sign in to comment.