Branch: Tag:

2016-07-04

2016-07-04 18:08:17 by Martin Nilsson <nilsson@fastmail.com>

It's tedious to write trim_all_whites. Make trim the canonical name.

84:      string quote(string in) {    if(in-" "-"\t"=="") return ""; -  if(String.trim_all_whites(in)=="") return "\n"; +  if(String.trim(in)=="") return "\n";    return Parser.XML.Tree.text_quote(in);   }