Fixed: Keep \n inside <textarea>

--HG--
branch : develop
This commit is contained in:
Nimetu 2016-06-12 12:46:44 +03:00
parent 69728b9a2e
commit b5a4ba313d

View file

@ -1884,6 +1884,8 @@ namespace NLGUI
} }
break; break;
case HTML_TEXTAREA: case HTML_TEXTAREA:
_PRE.push_back(true);
// Got one form ? // Got one form ?
if (!(_Forms.empty())) if (!(_Forms.empty()))
{ {
@ -2224,6 +2226,8 @@ namespace NLGUI
popIfNotEmpty (_FontOblique); popIfNotEmpty (_FontOblique);
popIfNotEmpty (_TextColor); popIfNotEmpty (_TextColor);
} }
popIfNotEmpty (_PRE);
} }
break; break;
case HTML_TITLE: case HTML_TITLE: