Search

If $website-name = Sharon's Recipes and I display it with <xsl:value-of select="$website-name"/> it shows on the page as Sharon&apos;s Recipes. If I add disable-output-escaping = 'yes' to the value-of statement it displays correctly as Sharon’s Recipes in Firefox, but in IE8 it still displays as Sharon&apos;s Recipes.

My workaround is to ignore the parameter and just display the literal text, but I would rather do it right. Any suggestions?

This is a known bug, although I don’t know if it’s been logged on the tracker. The workaround is to use the Param Pool to XML extension which will get the value into your XML with correct apostrophes. Symphony 2.2 will include this functionality by default.

OK, I’ll just go with my workaround and wait for 2.2.

2.3.2 still appears to have this same bug, FYI.

You can use parameters instead, /data/params/website-name.

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details