Closed (fixed)
Project:
Textimage
Version:
6.x-2.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
10 Dec 2009 at 07:27 UTC
Updated:
24 Jan 2012 at 14:05 UTC
Jump to comment: Most recent file
Comments
Comment #1
danielb commentedMate I really don't know off hand. Does this happen when you use textimage the normal way (without autoinsert)?
Comment #2
iori57 commentedHeh first of all great module by the way, without it I don't even know how to use textimage =.=
What's the proper way to generate image from contents? I manually added the < p > tag into your module (because the content are all inside < p > tag as seen from the source page), however I can't get rid of the < br > tag..
I just want the contents to become image, is there an easy way to do it?
Thanks a lot for the great module! ^^
Comment #3
iori57 commentedSorry for the gibberish of the previous post before, didn't notice that the < p > tag actually break off my sentence..
I'm still figuring this same issue at the moment...
danielb could you tell me which variable is the final text (string) variable before it was converted to image? I could use str_replace() php function to replace "< br >" tag with empty string! ^^ I'm confused which variable to use as there are so many $text variables inside textimage module and your module..
Thanks again!
Comment #4
danielb commentedI am convinced the problems you are having are because textimage cannot support HTML in the supplied text. You have to remove the html. I'm sure there are functions for doing that either in php or drupal, but I can't think off the top of my head what they are.
Moving this to the textimage queue.
Comment #5
decipheredJust moved a dupe into Textimage Autoinsert, didn't see this version that originated in Textimage Autoinsert.
As far as I'm concerned Textimage doesn't need to interpret HTML, it is doing exactly what it needs to do, render text as a textimage. If you don't want HTML tags in your textimage, don't send them to textimage, process your text before rendering it.
Sorry for the late and blunt response. The other issue I moved had a response that looked like it would solve your issue so please refer to that.
Cheers,
Deciphered.
Comment #6
akberhussain commented. How to remove br tag in drupal
Ans: Go to Home » Administer » Site configuration » Input formats Click On configuration Full HTML and uncheck Line break converter Converts line breaks into HTML (i.e.
and
tags).
Check this picture