Changeset 1147
- Timestamp:
- 2000-05-04T17:17:46+12:00 (24 years ago)
- Location:
- trunk/gsdl/src/recpt
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/recpt/htmlutils.cpp
r919 r1147 28 28 /* 29 29 $Log$ 30 Revision 1.6 2000/05/04 05:17:46 sjboddie 31 moved dm_safe from htmlutils to gsdltools 32 30 33 Revision 1.5 2000/02/13 20:38:59 sjboddie 31 34 added dm_safe function … … 69 72 return outstring; 70 73 } 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 } -
trunk/gsdl/src/recpt/htmlutils.h
r919 r1147 35 35 text_t html_safe (const text_t &instring); 36 36 37 text_t dm_safe (const text_t &instring);38 39 37 #endif
Note:
See TracChangeset
for help on using the changeset viewer.