HTML Tag Cleaner Fails
Dar Scott
dsc at swcp.com
Tue Aug 8 23:19:26 EDT 2006
On Aug 8, 2006, at 5:52 PM, Mark Schonewille wrote:
> <html>
> <body>
> <title>bar</title>
> </body>
>
> Not that the title tags are in the body and still not rendered by
> TextEdit. However, if I replace "title" by "foo", "bar" is visible
> in TextEdit. Revolution does the same, if I set the htmlText of a
> field to above html code.
I don't follow this logic:
TextEdit can render HTML.
TextEdit removes title.
Rev fields remove title.
Therefore...
Rev field can render HTML.
Try this (similar to above):
<html>
<body>
a b
</body>
TextEdit will render the multiple spaces correctly as a single
space. Revolution fields will not.
That is because Revolution does not render HTML. It does not even try.
Dar Scott
More information about the use-livecode
mailing list