diff options
Diffstat (limited to 'ast.c')
| -rw-r--r-- | ast.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -35,9 +35,9 @@ static CORD optional_tagged_type(const char *tag, type_ast_t *ast); CORD xml_escape(CORD text) { - text = Text$replace(text, "&", "&", I(-1)); - text = Text$replace(text, "<", "<", I(-1)); - text = Text$replace(text, ">", ">", I(-1)); + text = CORD_replace(text, "&", "&"); + text = CORD_replace(text, "<", "<"); + text = CORD_replace(text, ">", ">"); return text; } |
