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 &lt;code smarty&gt; 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=&quot;topitem&quot; value=&quot;false&quot;}<br /> Displayed code: {assign&quot;&gt;assign&quot;&gt;assign var=&quot;topitem&quot; value=&quot;false&quot;}<br /> html source code: &lt;pre class=&quot;code smarty&quot;&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;a target=&quot;_blank&quot; &nbsp;href=&quot;http://smarty.php.net/&lt;a target=&quot;_blank&quot; &nbsp;href=&quot;http://smarty.php.net/&lt;span class=&quot;kw6&quot;&gt;assign&lt;/span&gt;&quot;&gt;&lt;span class=&quot;kw5&quot;&gt;assign&lt;/span&gt;&lt;/a&gt;&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;assign&lt;/span&gt;&lt;/a&gt; var=&lt;span class=&quot;st0&quot;&gt;&quot;topitem&quot;&lt;/span&gt; &lt;span class=&quot;kw6&quot;&gt;value&lt;/span&gt;=&lt;span class=&quot;st0&quot;&gt;&quot;false&quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/pre&gt;<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 &lt;code smarty&gt;&lt;/code&gt; </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&#039;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>

Pages: 1 2 3 4 5 6 7 8 9 10