HTMLT: more monadic fns and string encapsulation