[Gambas-user] HtmlDocument confused by two doctype's in same document

T Lee Davidson t.lee.davidson at gmail.com
Fri Feb 1 00:13:32 CET 2019


Should I report the following issue as a bug?


___
Lee


On 1/26/19 5:28 AM, T Lee Davidson wrote:
> Two days ago, I tried to send a [CRASH REPORT] that did not make it to the list, because an included HTML file was too large. I 
> think I have determined the cause of the issue and a way to reproduce it without sending such a large archive.
> 
> For some reason, a search on Google yields a page which source contains two DOCTYPE tags. The one at the page top is in 
> lowercase letters. Another one, in uppercase letters, is embedded within a Javascript element further down in the page. 
> HtmlDocument seems to prefer the uppercase'd DocType tag and therefore truncates the top of the document.
> 
> Project attached.
> 
> 
> ___
> Lee
> 
> 
> [System]
> Gambas=3.12.90 402d1acbc (master)
> OperatingSystem=Linux
> Kernel=4.4.165-81-default
> Architecture=x86_64
> Distribution=openSUSE Leap 42.3
> Desktop=KDE5
> Theme=QtCurve
> Language=en_US.UTF-8
> Memory=3951M
> 
> [Libraries]
> Cairo=/usr/lib64/libcairo.so.2.11502.0
> Curl=/usr/lib64/libcurl.so.4.3.0
> DBus=/lib64/libdbus-1.so.3.8.14
> GStreamer=/usr/lib64/libgstreamer-0.10.so.0.30.0
> GStreamer=/usr/lib64/libgstreamer-1.0.so.0.803.0
> GTK+2=/usr/lib64/libgtk-x11-2.0.so.0.2400.31
> GTK+3=/usr/lib64/libgtk-3.so.0.2000.10
> OpenGL=/usr/lib64/libGL.so.1.2.0
> Poppler=/usr/lib64/libpoppler.so.60.0.0
> QT4=/usr/lib64/libQtCore.so.4.8.7
> QT5=/usr/lib64/libQt5Core.so.5.6.2
> SDL=/usr/lib64/libSDL-1.2.so.0.11.4
> SQLite=/usr/lib64/libsqlite3.so.0.8.6
> 
> [Environment]
> [[snip]]


More information about the User mailing list