Closed (fixed)
Project:
Textimage autoinsert (abandoned)
Version:
6.x-2.0-beta1
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
10 Dec 2009 at 07:26 UTC
Updated:
3 Feb 2010 at 10:10 UTC
Comments
Comment #1
markwittens commentedI fixed a similar problem by editing textimage_autoinsert.module:
Around line 576 you'll find the line:
foreach ($autoinsert['settings']['variables']['vars'] as $key => $val) {
Add the following line after that:
$vars[$key] = html_entity_decode(strip_tags($vars[$key]));
Around line 600 you'll find the lines:
$return_data .= $matches[1];
$return_data .= $matches[2];
Add the following:
$matches[3] = html_entity_decode(strip_tags($matches[3]));
Your text might all be on one line after this, if you can put every line in it's own HTML tag it should work fine.
Comment #2
decipheredMoved to Textimage Autoinsert.
Comment #3
danielb commentedOk I guess there needs to be options for this kind of thing, br to nl, and striptags in general.
Comment #4
danielb commentedI have added some options for this in the new release.
Comment #5
iori57 commentedThanks! I will try it later! :)