ismywb / smartypdt

Automatically exported from code.google.com/p/smartypdt
0 stars 0 forks source link

Formatting coloring breaks #60

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. just copy/paste the code lines bellow in a tpl
2.
3.

Colouring breaks at "{$p*$s|money_format}"

If I add spaces around the "*" the code will stop working.

{foreach from=$monthlypayment_options key=p item=s}
   <option value="{$p}"{if $p == $order.payment_num} selected{/if}>
    {if $p == 1}
        {$s|money_format}
    {else}
        {$p} x {$s|money_format} = {$p*$s|money_format}

    {/if}
   </option>
{/foreach}

What is the expected output? What do you see instead?
I expect all output to be joyfully coloured as I am used to,
I see that starting at '*$s|money_format' the text is coloured as if it is a 
comment, and it's like this until a line (a few hundred lines below):
{/if}{* not trshop *}
Then... colouring restart at 'not trshop *}'

What version of the product are you using? On what operating system?

Eclipse 3.7.1, PDT and smartypdt 0.9.0 on Fedora 16

Please provide any additional information below.
No additional information, but a great and big thank you for this cool tool.

Original issue reported on code.google.com by alain.go...@gmail.com on 9 Jan 2012 at 8:59