equal
deleted
inserted
replaced
31 |
31 |
32 local |
32 local |
33 |
33 |
34 fun render_trees ts = fold render_tree ts |
34 fun render_trees ts = fold render_tree ts |
35 and render_tree (XML.Text s) = Buffer.add s |
35 and render_tree (XML.Text s) = Buffer.add s |
36 | render_tree (XML.Elem (name, props, ts)) = |
36 | render_tree (XML.Elem ((name, props), ts)) = |
37 let |
37 let |
38 val (bg1, en1) = |
38 val (bg1, en1) = |
39 if name <> Markup.promptN andalso print_mode_active test_markupN |
39 if name <> Markup.promptN andalso print_mode_active test_markupN |
40 then XML.output_markup (name, props) |
40 then XML.output_markup (name, props) |
41 else Markup.no_output; |
41 else Markup.no_output; |