Posible problema en JSRender con espacios
tengo algún problema con el desgarro de este código jsrender, funciona si title == 'Teamledare Redo' pero si tengo más palabras como esta: 'teamledare Redovisning', entonces no funciona ...
¿Por qué no se procesa cuando hay más palabras?
<script id="oc_template" type="text/x-jsrender">
<div class="node">
{{if title == 'Teamledare Redovisning'}}
<div><a href= {{>id}} >{{>title}}</a><br />{{>subtitle}}</div>
{{else title == 'VD'}}
<div><a href= {{>id}} >{{>title}}</a><br />{{>subtitle}}</div>
{{else}}
<div><a href='#'>{{>title}}</a><br />{{>subtitle}}</div>
{{/if}}
</div>