Fixed: Keep \n inside <textarea>

This commit is contained in:
Nimetu 2016-06-12 12:46:44 +03:00
parent d05b77ff8e
commit a2d9be979d

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: