equal
deleted
inserted
replaced
46 var ctrl = "" |
46 var ctrl = "" |
47 for (sym <- Symbol.iterator(text)) { |
47 for (sym <- Symbol.iterator(text)) { |
48 if (is_control(sym)) { output_symbol(ctrl); ctrl = sym } |
48 if (is_control(sym)) { output_symbol(ctrl); ctrl = sym } |
49 else { |
49 else { |
50 control.get(ctrl) match { |
50 control.get(ctrl) match { |
51 case Some(elem) if Symbol.is_controllable(sym) && sym != "\"" => |
51 case Some(elem) if Symbol.is_controllable(sym) => |
52 output_hidden(output_symbol(ctrl)) |
52 output_hidden(output_symbol(ctrl)) |
53 s += '<'; s ++= elem; s += '>' |
53 s += '<'; s ++= elem; s += '>' |
54 output_symbol(sym) |
54 output_symbol(sym) |
55 s ++= "</"; s ++= elem; s += '>' |
55 s ++= "</"; s ++= elem; s += '>' |
56 case _ => |
56 case _ => |