i'm using chameleon in pyramids framework , tal. unfortunately tal removes every tag first both.
html-template:
<label tal:attributes="for item.id"> <span i18n:translate="because:" tal:condition="item.leading_because">because:</span> <span tal:repeat="premise item.premises" tal:attributes="for item.id; id premise.id"> <span tal:attributes="for item.id; id premise.id" tal:content="premise.title">premise</span> <span tal:condition="not:repeat.premise.end"> <i><span i18n:translate="and"> , </span></i> </span> </span> </label>
rendered example:
<li> <input type="radio" name="discussion-button-group" onclick="location.href="http://localhost:4284/d/cat-or-dog/r/11/undermine/29"" id="11"> <label for="11"> because: cats fluffy , cats small </label>
now i'm missing span-tags in "because ...", knows, why?
thx
i think closing tags messed up. not matching pairs.
Comments
Post a Comment