You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
put a php file with the attached code like here:
http://code.google.com/p/intsmarty/source/browse/trunk/intsmarty.class.php#188
What is the expected output? What do you see instead?
coloring continues after the literal
(return = blue, comments = red etc)
What browser (or hg/svn client) are you using? On what operating system?
Google Chrome 12.0.742.100 (Official Build 88853)
WebKit 534.30 (branches/chromium/742@88085)
V8 3.2.10.15
on ubuntu maverick
Please provide any additional information below.
funny is that '<?php' is not interpeted
and '?>' is and should not(is a literal string)
the code(yes im putting php code into $code(generates php code from))
---------8<------------------8<------------------8<---------
$code = '<?php $__LANG = '.var_export($this->translation, true).'; ?>';
---------8<------------------8<------------------8<---------
The Resulting html (as you can see the 2and line(tr) is plain(pln)
---------8<------------------8<------------------8<---------
<tr id="sl_svn2_193">
<td class="source">
<span class="pln"> $code </span>
<span class="pun">=</span><span class="pln"> </span>
<span class="str">'<?php $__LANG = '</span>
<span class="pun">.</span>
<span class="pln">var_export</span>
<span class="pun">(</span>
<span class="pln">$this</span>
<span class="pun">-></span>
<span class="pln">translation</span>
<span class="pun">,</span><span class="pln"> </span>
<span class="kwd">true</span>
<span class="pun">).</span>
<span class="str">'; </span>
<span class="pun">?></span>
<span class="pln">';<br></span>
</td></tr>
<tr id="sl_svn2_194"><td class="source">
<span class="pln"> $fr = fopen($filename, "w");<br></span>
</td></tr>
---------8<------------------8<------------------8<---------
Original issue reported on code.google.com by [email protected] on 22 Jun 2011 at 8:06
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 22 Jun 2011 at 8:06The text was updated successfully, but these errors were encountered: