CINXE.COM
FS#739 Smarty Code Display
<html> <head> <title>FS#739 Smarty Code Display</title> <link href="static/style.css" rel="stylesheet"/> <meta charset="utf-8"/> </head> <body> <div class="container"> <div class="warning"> This is a static dump of issues in the old "Flyspray" bugtracker for DokuWiki. Bugs and feature requests are now tracked at the <a href="https://github.com/splitbrain/dokuwiki/issues">issue tracker at Github</a>. </div> <div class="resolution"> <strong>Closed</strong><br /> Deferred </div> <h1>FS#739 Smarty Code Display</h1> <h2>Syntax</h2> <ul class="tasks"> <li class="task"> <div class="taskhead"> <img src="http://www.gravatar.com/avatar/409a1ac6ad9993bbe4ebf6f801ab14f5?d=monsterid&s=48" align="left"/> <p class="text"> <span class="date">2006-03-08</span> <span class="user">ultrabob</span> </p> </div> <div class="tasktext"> Not sure is this is a problem related to dokuwiki or to the syntax highlighting code, but when I use <code smarty> and include a tag that includes assign, the code shown goes screwy showing asign three times with the first two assigns being a link to smarty.php.net.<br /> <br /> Example inserted code: {assign var="topitem" value="false"}<br /> Displayed code: {assign">assign">assign var="topitem" value="false"}<br /> html source code: <pre class="code smarty"><span class="br0">&#123;</span><a target="_blank" href="http://smarty.php.net/<a target="_blank" href="http://smarty.php.net/<span class="kw6">assign</span>"><span class="kw5">assign</span></a>"><span class="kw3">assign</span></a> var=<span class="st0">"topitem"</span> <span class="kw6">value</span>=<span class="st0">"false"</span><span class="br0">&#125;</span></pre><br /> </div> </li> <li class="task"> <div class="taskhead"> <img src="http://www.gravatar.com/avatar/409a1ac6ad9993bbe4ebf6f801ab14f5?d=monsterid&s=48" align="left"/> <p class="text"> <span class="date">2006-03-08</span> <span class="user">ultrabob</span> </p> </div> <div class="tasktext"> Of course the Example inserted code should have been surrounded with <code smarty></code> </div> </li> <li class="task"> <div class="taskhead"> <img src="http://www.gravatar.com/avatar/b6b4d7dbe3fb7cf61b68e36cd80f8698?d=monsterid&s=48" align="left"/> <p class="text"> <span class="date">2006-03-09</span> <span class="user">andi</span> </p> </div> <div class="tasktext"> This seems to be a problem with the assign keyword being defined in multiple arrrays of the smarty language file. However I'm not sure where it really belongs. It is defintively a problem with GeShi. You should report this problem to the GeShi author. </div> </li> </ul> </div> </body> </html>