Changed: Ignore text from <script> element

This commit is contained in:
Nimetu 2015-12-03 15:50:46 +02:00
parent 8db85c74b9
commit d8735be24e

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: