Fixes rendering of ERB template.