Hi,

when I try to render an apostrophe ( ' ) the result in the image is backslash-apostrophe ( \' ) - see the attached image.

Can anyone help me finding a way to render only the apostrophe?

Thanks,
Andrea

Comments

jon nunan’s picture

Had the same problem. I'm using the 6.x version so things are probably different but I fixed it by finding the 'signwriter_image' function and adding

  $text = html_entity_decode($text, ENT_QUOTES);
+  //get rid of slashes
+  $text = stripslashes($text);
Frodo Looijaard’s picture

Status: Active » Needs review
StatusFileSize
new352 bytes

I think the attached patch is even cleaner (you might actually want to preserve some backslashes). It is against 6.x-2.x.

Frodo

agileware’s picture

Marking #374824: Using Signwriter in node body? as a duplicate of this issue.

agileware’s picture

Status: Needs review » Reviewed & tested by the community

The solution in #2 has been committed to 6.x-2.x-dev

Will commit to D5 soon.

Thanks.

duaelfr’s picture

Status: Reviewed & tested by the community » Closed (won't fix)

This version of Signwriter is not supported anymore. The issue is closed for this reason.
Please upgrade to a supported version and feel free to reopen the issue on the new version if applicable.

This issue has been automagically closed by a script.