Changed: Ignore text from <script> element

--HG--
branch : develop
hg/feature/material-editor
Nimetu 9 years ago
parent 14f0f3454c
commit a7100eb5bc

@ -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:

Loading…
Cancel
Save