Add ERB-like trim mode for tags and outputs.