Core Modules & Blocks  :: 
Quotes in surveys
 Top

  • Hi !

    With pn721, I made a new survey, with a quote (') in the title : when the survey is displayed, 2 quotes are shown instead of one ('')

    I tried to use \' but it doesn't work....

    Any suggestion ?

    DM
  • I see the same in 0.714. Usually, single quotes are encoded as double before the data is stored in a database. I would guess, that is is a bug. There is no code that would replace the double quotes back to a single. The possible remedies are:

    1. go through the code, find where the decoding happens for other survey fields (since they seem to work just fine) and add the same for the code handling the header.

    2. use an HTML entity: '

    3. use a different poll module, for example Advance Polls.
This list is based on the users active over the last 60 minutes.