|
Posted by Janwillem Borleffs on 12/22/05 00:04
GooderThanYou wrote:
> I have an RTF using IFRAME and it works beautfiully, just this code,
> everything is fine and perfect except the <<COMMENTS>> is replaced
> with something similiar to this:
>
> ab<STRONG>cdefghji</STRONG>jklmnop
>
> when it opens the file as an RTF, if you echo $text string on the web
> page it is bold and the way it should be... any ... umm suggestions?
>
As you already have noticed, RTF documents do not use HTML to format texts.
To mark a text as bold in RTF documents, you would do something as follows:
ab\b cdefghji\b0 jklmnop
So ' \b ' to indicate the start of an emphasized section and ' \b0 ' to
mark the end of it. Also mind the spaces after '\b ' and '\b0 '.
For more info about RTF, see: http://www.biblioscape.com/rtf15_spec.htm
JW
Navigation:
[Reply to this message]
|