Changed: Ignore text from <script> element

--HG--
branch : develop
This commit is contained in:
Nimetu 2015-12-03 15:50:46 +02:00
parent 14f0f3454c
commit a7100eb5bc

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: