author | wenzelm |
Fri, 02 May 2008 16:36:29 +0200 | |
changeset 26768 | 844068d16ba0 |
parent 26767 | cc127cc0951b |
child 26769 | 5b8382d495be |
--- a/doc-src/antiquote_setup.ML Fri May 02 16:36:05 2008 +0200 +++ b/doc-src/antiquote_setup.ML Fri May 02 16:36:29 2008 +0200 @@ -13,8 +13,13 @@ (* misc utils *) -val clean_string = - translate_string (fn "_" => "-" | ">" => "$>$" | "#" => "\\#" | c => c); +val clean_string = translate_string + (fn "_" => "-" + | ">" => "$>$" + | "#" => "\\#" + | "{" => "\\{" + | "}" => "\\}" + | c => c); val str_of_source = space_implode " " o map Args.string_of o #2 o #1 o Args.dest_src;