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

mjplace’s picture

Whoops, see now why you don't use it for the body. It generates gifs of whole paragraphs. Oh, well, back to playing with sIFR...

agileware’s picture

Assigned: Unassigned » agileware
Status: Active » Postponed (maintainer needs more info)

G'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 formats
4. 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 above
6. When saved the input filter should process the text and convert to signwriter output.

Is that what you were trying to achieve?

agileware’s picture

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...

We can repeat this and it looks like a bug where the apostrophe is not being escaped. As for a workaround, dont' use apostrophes :)

agileware’s picture

Status: Postponed (maintainer needs more info) » Closed (duplicate)

Marking this as a duplicate of #375596: error rendering apostrophe