While the HTML produced is perfectly valid, without the `trim` filter, a lot of warnings are emitted (700 lines of warnings out of 2812 are eliminated by this change)