How to disable loops from automatically wrapping non-marked up content? So I've got a completely clean install of Craft 3: RC 2. I've installed Redactor, and nothing else. 

In the templates/index.twig file; this is all I have: 

{% set test = ['one', 'two', 'three'] %}

{% for t in test %}
  {{ t }}
{% endfor %}


Output:



After some trial and error, I figured out that content without any html markup will be wrapped with 'pre' tags by default. Is there an option to stop this behaviour? Maybe a general config option I can disable?
Pretty sure that's just your browser's console trying to tidy things up when you inspect.

If you View Page Source, I'd guess it wouldn't be there.

I also just tested this with your example code on a fresh Craft 3 install on the latest Chrome and Firefox on Windows and the latest Safari on OSX and was not able to reproduce your picture.