[Gambas-user] Webpage - HTML in Textarea

Benoit Minisini benoit.minisini at gambas-basic.org
Sun Jul 3 17:56:57 CEST 2022


Le 03/07/2022 à 15:52, Hans Lehmann a écrit :
> Hello,
> 
> by chance I found out that HTML - here for example 'TEXT<hr>' in a 
> textarea in a form in a webpage is not displayed but interpreted and 
> executed. After the text TEXT a horizontal line was displayed. Is there 
> a function in Gambas - similar to htmlspecialchars(...) in PHP - that 
> converts special characters into HTML entities?
> 
> With kind regards
> 
> Hans
> 

Yes: Html$()

-- 
Benoît Minisini.


More information about the User mailing list