Changed: Ignore text from <script> element

This commit is contained in:
Nimetu 2015-12-03 15:50:46 +02:00
parent 9221f63dd6
commit 487f92c9d0

View file

@ -1834,6 +1834,7 @@ namespace NLGUI
break; break;
case HTML_STYLE: case HTML_STYLE:
case HTML_SCRIPT:
_IgnoreText = true; _IgnoreText = true;
break; break;
} }
@ -1974,6 +1975,7 @@ namespace NLGUI
popIfNotEmpty (_FontStrikeThrough); popIfNotEmpty (_FontStrikeThrough);
break; break;
case HTML_STYLE: case HTML_STYLE:
case HTML_SCRIPT:
_IgnoreText = false; _IgnoreText = false;
break; break;
case HTML_OBJECT: case HTML_OBJECT: