<div class="xt_container">
<div style="color:#ff0;text-align:center;margin:0 auto">Example code</div>
<form action="<xt:url>" method="post">
<div class=" xt_input" style=";text-align:center;margin:0 auto">
<input name="example" style="text-align:center;width:100%;" value="{_$$example|}"/>
</div>
<div class=" xt_submit" style=";text-align:center;margin:0 auto">
<input class="xt_button" type="submit" value="test"/>
</div>
</form>
<div  style=";text-align:center;margin:0 auto;width:20%;padding:0px"><textarea class= "xt_output" style="height:5em">
<!--parser:xtscript-->
get_or_default example;call br2nl $val=foo<br />bar<br />foo<br />bar;$is_xhtml=0;
var $example=call htmlspecialchars $val=$example
<?php if (isset($_POST["example"])){echo strip_tags(($_POST["example"] ),'<br>');} ?>
<!--/parser:xtscript-->
</textarea></div>
</div>