diff options
author | deva <deva> | 2008-06-09 13:48:06 +0000 |
---|---|---|
committer | deva <deva> | 2008-06-09 13:48:06 +0000 |
commit | 775021103ccd27d8be5aa92cc3cd21ce6c547c48 (patch) | |
tree | d19599a96933b812549d90d6a6da6fbaad4d5c8d /server/src/templateparser.cc | |
parent | 4d39f5e52e1ca9e26a397eb4bcc2fe7bad18cdfe (diff) |
Added xml encoding of the lua programs to make sure they are not interrupting the xml.
Diffstat (limited to 'server/src/templateparser.cc')
-rw-r--r-- | server/src/templateparser.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/src/templateparser.cc b/server/src/templateparser.cc index 969b4bd..1fecc20 100644 --- a/server/src/templateparser.cc +++ b/server/src/templateparser.cc @@ -87,6 +87,7 @@ TemplateParser::~TemplateParser() void TemplateParser::characterData(std::string &data) { + /* if(state == MAP) { assert(current_map); // No map present! current_map->attributes["lua"].append(data); @@ -96,6 +97,7 @@ void TemplateParser::characterData(std::string &data) assert(current_luaprogram); // No lua program present! current_luaprogram->attributes["lua"].append(data); } + */ } void TemplateParser::startTag(std::string name, std::map< std::string, std::string> attributes) |