Closed (duplicate)
Project:
Signwriter
Version:
6.x-1.1
Component:
Code
Priority:
Minor
Category:
Support request
Assigned:
Reporter:
Created:
15 Feb 2009 at 19:12 UTC
Updated:
14 Jul 2009 at 12:43 UTC
Hi--
Just playing around, installed Signwriter, works good, great module.
Thought it might be fun to try to use it for the node body as well as the title. So I used a smaller font size and put /<p.*?>.*?<\/p.*?>/s in the Input Filter Pattern.
It works great, EXCEPT apostrophes are showing up with the "\" in front of them. And I don't know where to begin to look for this one glitch.
Anyone know of a quickie workaround? I've tried it in various themes, so it's not a theme issue...
MJ
Comments
Comment #1
mjplace commentedWhoops, see now why you don't use it for the body. It generates gifs of whole paragraphs. Oh, well, back to playing with sIFR...
Comment #2
agileware commentedG'day, you can use signwriter for tags within the body text of a node.
For example:
1. Creating a signwriter profile and set your options
2. Set an Input Filter Pattern of:
/<div class="signwriter_price_large">.*?<\/div>/3. Then go to
Home » Administer » Site configuration » Input formats4. Select the required input format that this profile is to be applied to and enable the new signwriter filter in the input format
5. Then in the node body enter text like:
<div class="signwriter_price_large">$1320</div>and select the input format above6. When saved the input filter should process the text and convert to signwriter output.
Is that what you were trying to achieve?
Comment #3
agileware commentedWe can repeat this and it looks like a bug where the apostrophe is not being escaped. As for a workaround, dont' use apostrophes :)
Comment #4
agileware commentedMarking this as a duplicate of #375596: error rendering apostrophe