<input type="number" value="150" id="truncatelength-htmlrazor"/>
<input type="text" value="<p>You can <strong>add</strong> this html text</p>" id="addtext-htmlrazor"/>
<hr>
<div id="origin-htmlrazor">
<h1>Hello World!</h1>
<p>This is <strong>HTMLRazor</strong>!!</p>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
</p>
</div>
<hr>
<div id="result-htmlrazor"></div>
<hr><hr><hr><hr><hr><hr><hr><hr><hr>
<div id="origin-html" contenteditable="true">
<h1>Hello World!</h1>
<p>Add more text here<br><small>from the formulary below</small></p>
<div>
... or edit this text directly
</div>
</div>
<hr>
<div id="result-html"></div>
<hr>
<br>
<label>Truncate text</label>
<input type="number" id="truncate-length" value="30"/>
<br>
<label>Add text</label>
<input type="text" id="text-to-add" value="my text"/>