Categories > TinyButStrong general >

Need help to display HTML text

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: chezo
Date: 2010-05-05
Time: 20:15

Need help to display HTML text

Hi,

I want to display the text and image of the below block of text in my html file.
hello world 1 <img src="http://localhost/mysite/images/smileys/sad.png" alt="Sad" />

This is a string that comes from the database and I display it in my html file like follows:
<td>[blk1.message;block=tr]</td>

I get this output in my PHP(output) file:
hello world 1 <img src="http://localhost/mysite/images/smileys/sad.png" alt="Sad" />

But I want to display the text and the image! Is there some way of escaping the HTML data in the string?

Please help

Thanks
By: Skrol29
Date: 2010-05-05
Time: 22:28

Re: Need help to display HTML text

Hi Chezo,

This question has been posted several times including few days ago.
<td>[blk1.message;htmlconv=no;block=tr]</td>
By: chezo
Date: 2010-05-05
Time: 22:30

Re: Need help to display HTML text

Thanks!

It's working now :D