PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → WD22 - HTML file in Edit control
WD22 - HTML file in Edit control
Iniciado por guest, 02,nov. 2017 15:16 - 2 respuestas
Publicado el 02,noviembre 2017 - 15:16
Hi...
i have a edit control in HTML Type.

I pass a html page to modify some element.

When save the content of Edit in HTML page disappears many tag (like "" or "<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">" ) .

What is the problem???
Publicado el 02,noviembre 2017 - 16:17
Hi Giovani

there is no problem.

Each and any html editor will save the 'visually' exact same page with a different html code.
Just do the same thing in word and libreoffice, by example, and you'll see two widely different end result at the html code level.

Html is probably one of the LEAST standard of all the so called standards out there.

There is no reason why the poor little windev html editor should be any different.
Publicado el 02,noviembre 2017 - 16:36
Ok... but i have a template of email in a file.html

I load this file in the edit control to add my message in mail.

After that i use

Email.html = edt_noname1 - edit control

the edt_noname1 does not containt same tag html it contained before in html file.

The result is the visualization of mail is strange, becouse not contain same tag html.