Confusing behaviour after clicking URL in HTML_AREA

Define a text field somehtml.
Type the following into a TEXT_AREA with somehtml as dataprovider:

<html><head></head><body><a href="http://www.bbc.co.uk">BBC</a></body></html>

View the text in an HTML_AREA with somehtml as dataprovider and you will see a link which is clickable.
If you click it you get a message

Could not eval string ‘bbc.co.uk

Then the HTML_AREA switches to the bbc home page… (there is some CSS that the HTML_AREA does not understand, but that is another story know you are working on to solve)

To get back to the original page in the HTML_AREA, you have to modify the contents of somehtml either manually or through a script.

I set

somehtml = "";

before i reset somehtml to its original calculated content.

This restores the display in the HTML_AREA, but if you click the HTML link again it no longer does anything.

Mac OS X 10.3.3, Servoy 2.0.1

Tip try to use when possible:

<a target="_BLANK" href="http://www.bbc.co.uk">BBC</a>

Thanks for that tip Jan, that works much better!
(The page opens in your default web browser)

I was thinking of allowing my users to type links themselves – they will never remember the “_BLANK” bit, but no problem, I can scan the text for occurences of

‘<a href’

and replace with

‘<a target=“_BLANK” href’

:-)