- Timestamp:
- 2000-07-13T10:21:53+12:00 (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/New_Config_Format-branch/gsdl/src/recpt/htmlutils.cpp
r919 r1279 28 28 /* 29 29 $Log$ 30 Revision 1.5.4.1 2000/07/12 22:21:39 sjboddie 31 merged changes to trunk into New_Config_Format branch 32 33 Revision 1.6 2000/05/04 05:17:46 sjboddie 34 moved dm_safe from htmlutils to gsdltools 35 30 36 Revision 1.5 2000/02/13 20:38:59 sjboddie 31 37 added dm_safe function … … 69 75 return outstring; 70 76 } 71 72 text_t dm_safe (const text_t &instring) {73 74 text_t outstring;75 text_t::const_iterator here = instring.begin();76 text_t::const_iterator end = instring.end();77 while (here != end) {78 if (*here == '_') outstring += "\\_";79 else outstring.push_back(*here);80 here ++;81 }82 return outstring;83 }
Note:
See TracChangeset
for help on using the changeset viewer.