src/Pure/Thy/html.scala
changeset 74794 c606fddc5b05
parent 74754 eaeab1358ced
child 74921 74655fd58f8e
equal deleted inserted replaced
74793:b6f6e3ca2bdc 74794:c606fddc5b05
   231     }
   231     }
   232     output_body(xml)
   232     output_body(xml)
   233   }
   233   }
   234 
   234 
   235   def output(body: XML.Body, hidden: Boolean, structural: Boolean): String =
   235   def output(body: XML.Body, hidden: Boolean, structural: Boolean): String =
   236     Library.make_string(output(_, body, hidden, structural))
   236     Library.make_string(output(_, body, hidden, structural), capacity = XML.text_length(body) * 2)
   237 
   237 
   238   def output(tree: XML.Tree, hidden: Boolean, structural: Boolean): String =
   238   def output(tree: XML.Tree, hidden: Boolean, structural: Boolean): String =
   239     output(List(tree), hidden, structural)
   239     output(List(tree), hidden, structural)
   240 
   240 
   241 
   241