mercredi 6 mai 2015

Rails pre tags are inserting tabs for unknown reason

In one of my views I have the following code with this exact indentation...

<h2>TEST</h2>
<p>This is my code...</p>
<br/><br/>
<pre>
Testing
1
  2
    3
</pre>

However it is rendering like this: enter image description here

Note that everything in the pre tag is indented beyond where the rest of the code is. I cannot figure out why.

Aucun commentaire:

Enregistrer un commentaire