JSFiddle - React, Tailwind, and code Playground

HTML

<!-- Demonstating the differnce in behaviour of pre tags with handlebars 2.0.0 vs 1.3.0 -->

<!-- http://builds.handlebarsjs.com.s3.amazonaws.com/handlebars-v1.3.0.js" -->
<script type="text/javascript"
src="http://builds.handlebarsjs.com.s3.amazonaws.com/handlebars-latest.js"></script>
<textarea id="output" style="height:100px;width:100%"></textarea>

<p id="output2"></p>

JavaScript

var partial = Handlebars.registerPartial('pre2', '<pre>\n2\n</pre>');
var example = Handlebars.compile('1\n   {{>pre2}}\n3');

document.getElementById('output').innerHTML = example();
document.getElementById('output2').innerHTML = example();