Commit f2a82e935a26ecf6ce7f2d7f4f3c82cdfc31b7c6

Authored by Olivier Duvernois
1 parent a4fa379d

*** empty log message ***

Showing 1 changed file with 11 additions and 3 deletions   Show diff stats
anubis_dev/library/tools/maml.anubis
... ... @@ -184,7 +184,7 @@ define List(CompoundMark)
184 184  
185 185 mark("yellow", cmark("<span style=\"{color: rgb(180,180,0)}\">","</span>"),
186 186 cmark("\\textcolor{red}{", "}"),
187   - "Print the enclosed text in red."),
  187 + "Print the enclosed text in yellow."),
188 188  
189 189 mark("red", cmark("<span style=\"{color: rgb(180,0,0)}\">","</span>"),
190 190 cmark("\\textcolor{red}{", "}"),
... ... @@ -192,7 +192,7 @@ define List(CompoundMark)
192 192  
193 193 mark("grey", cmark("<span style=\"{color: rgb(130,130,130)}\">","</span>"),
194 194 cmark("\\textcolor{red}{", "}"),
195   - "Print the enclosed text in red."),
  195 + "Print the enclosed text in grey."),
196 196  
197 197 mark("green", cmark("<span style=\"{color: rgb(0,180,0)}\">","</span>"),
198 198 cmark("\\textcolor{green}{", "}"),
... ... @@ -274,8 +274,16 @@ define List(SpecialChar)
274 274 [
275 275 schar('<', "&lt;", "<"),
276 276 schar('>', "&gt;", ">"),
277   - schar('&', "&amp;", "\\&")
  277 + schar('&', "&amp;", "\\&"),
278 278 ].
  279 + schar('%', "%", "\\%"),
  280 + schar('#', "#", "\\#"),
  281 + schar('{', "{", "\\{"),
  282 + schar('}', "}", "\\}"),
  283 + schar('_', "_", "\\_"),
  284 + schar('\', "&#92;", "\\textbackslash"),
  285 + schar(truncate_to_int8(94), "&#136;", "\\textasciicircum"),
  286 + schar(truncate_to_int8(126), "&#152;", "\\textasciitilde")
279 287  
280 288  
281 289 define Maybe(SpecialChar)
... ...