O$: HTML Control to display/fix incorrect HTML
Mike Matthews
omnis at lineal.co.uk
Wed Mar 11 09:31:45 EDT 2015
I think the answer would be to use the Awesomium project that several listers are trying to get finished. Look back for Dave McKeone reply on 9th Feb 2015 at 18:13, it sums up where that project is currently.
Mike
Mike Matthews,
Managing Director, SQLWorks Software Ltd
Tel: +44 (0)1271 375999
Email: mike.matthews at sqlworks.co.uk
Web: www.sqlworks.co.uk
SQLWorks replaces Sage, ACT!, Opera, Access, SAP
On 11 Mar 2015, at 12:50, Nick Renders <omnis1 at arcict.com> wrote:
> Hi List,
>
> We use the HTML Control component to display some simple HTML pages and that works great.
> However, we noticed that those HTML pages do not use the correct entities.
>
> For instance:
>
> <p>Live & let live</p>
>
> instead of:
>
> <p>Live & let live</p>
>
>
> Now that we've begun to display the French version of those webpages, that has become a problem because there are a lot more occurrences of special characters.
>
> The problem lies of course with the HTML code that is incorrect, but we cannot update the source files.
> We can only read the HTML code and display it in the HTML Control.
>
> Anyone know what the best practice would be to fix the HTML code before displaying it?
> I can't encode the entire page at once because then the tags will also be converted to HTML entities.
> I've been thinking of parsing through the HTML code and only converting the text between tags, but I fear that might take too much time.
>
> Any ideas?
>
> Best regards,
>
> Nick Renders
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com
More information about the omnisdev-en
mailing list