Skip to content

Instantly share code, notes, and snippets.

@greystate
Created January 26, 2011 14:19
Show Gist options
  • Save greystate/796746 to your computer and use it in GitHub Desktop.
Save greystate/796746 to your computer and use it in GitHub Desktop.
Replace ' in RTE
<xsl:variable name="apos"><![CDATA[']]></xsl:variable>
<xsl:value-of select="translate(RTEFieldName, $apos, '_')" disable-output-escaping="yes" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment