Hello,

why creates the following source text:

Public Sub btnCreateHTMLDocument_Click()
  Dim hHtmlDocument As HtmlDocument

  hHtmlDocument = New HtmlDocument

*hHtmlDocument.Html5 = False**
*
  Print hHtmlDocument.ToString(True)
  hHtmlDocument.Save(Application.Path &/ "test.html", True)

End

this HTML5 document? I would have expected: strict HTML 1.0!

<!DOCTYPE html>
<html>
 <head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <title>
  </title>
 </head>
 <body>
 </body>
</html>

Hans
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to