X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;ds=sidebyside;f=include%2Fhttp%2Fipagehandler.h;fp=include%2Fhttp%2Fipagehandler.h;h=f6f2cc042597a5999ee58b6cb4767202a44ce940;hb=f2545574af789b63fc655decfe31a3d9f1b30504;hp=16afb7c25333d65ddb47c27a4b3c9f1ccf0470c2;hpb=221236a4d3aac4144529d418ce368db5c98facb0;p=fms.git diff --git a/include/http/ipagehandler.h b/include/http/ipagehandler.h index 16afb7c..f6f2cc0 100644 --- a/include/http/ipagehandler.h +++ b/include/http/ipagehandler.h @@ -39,6 +39,8 @@ protected: // replaces html elements with encoded characters (i.e. < becomes <) const std::string SanitizeOutput(const std::string &input); + // don't replace space with  , because browser might convert to unicode non breaking space character + const std::string SanitizeTextAreaOutput(const std::string &input); std::string m_template; std::string m_pagename;