When htmlText goes wrong

Richmond richmondmathewson at gmail.com
Sat Jan 4 06:17:56 EST 2014


On 04/01/14 13:04, Graham Samuel wrote:
> Thanks to Jacque and others on this list, I'm using htmlText to get cross-platform styled text with a few embedded math symbols such as the Greek letter pi, inequality symbols etc. It's all working pretty well, but in some of my texts I am now seeing some html sequences 'raw' so to speak - these always relate to color changes (I'm using US spellings today). So, in a text, where pi etc are shown correctly and there are some colored headings, I see a line like:
>
> < font color = "#FF0000"> some text
>
> in black, where I ought to have seen "some text" on its own, in red.
>
> The corresponding </font>, while there in the file, doesn't show up on the display.
>
> This looks like a problem of badly formed html, but I can't see how to detect it and I'm not familiar enough with html to know what can upset it, so to speak. Still looking, but if anyone has any suggestions, I'd be grateful.
>
> Graham
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

Here's a thought:

download Kompozer: http://www.kompozer.net/download.php

try your html in there; or, if you are a lazy so-and-so like me,
just do the 'kiddy-thing' and then take the html code and pop it where 
it's needed.

Richmond.




More information about the use-livecode mailing list