<sep-soft> support

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@166 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2006-12-24 15:03:52 +00:00
parent b059c867d2
commit ca3b7b91b4
7 changed files with 30 additions and 16 deletions
+4
View File
@@ -33,6 +33,10 @@ String untag_no_escape(const String& str) {
return ret;
}
String untag_hide_sep(const String& str) {
return untag(remove_tag_contents(str,_("<sep-soft")));
}
String escape(const String& str) {
String ret; ret.reserve(str.size());
FOR_EACH_CONST(c, str) {