kuporpal / smartypdt

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

PDT shows warning about text inside of smarty dilimiters #9

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Open a .tpl file

What is the expected output? What do you see instead?
I expect to see no warnings from PDT.  Instead I see some smarty code
underlined as a warning or error

What version of the product are you using? On what operating system?
smarty plugin 0.52
pdt 1.0.1v20071210
eclipse 3.3.1.1

Please provide any additional information below.
Screen shots attached

Original issue reported on code.google.com by joel...@gmail.com on 11 Dec 2007 at 8:24

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by ganoro on 11 Dec 2007 at 6:28

GoogleCodeExporter commented 8 years ago
The problem is more general. When Smarty tags are outside HTML tag everythig is 
OK,
but if smarty tags are inside HTML tag example: <a {if $error}color="red"{/if}> 
or
<td color="{$color}"> plugin fails to parse it as Smarty tags.

Original comment by todd.ki...@gmail.com on 30 Jan 2008 at 8:16

GoogleCodeExporter commented 8 years ago
I guess somebody has to tell the Smarty-Validator that the underlying 
PHP-Validator
(which is "just" extended) to ignore anything between the Smarty-delimiters. 
This
won't solve the whole issue but will probably give a working balance between 
Smarty
and HTML Validation

Original comment by a.ro...@solvention.de on 29 Apr 2008 at 7:46

GoogleCodeExporter commented 8 years ago
Is this the same problem the attached file shows for me or a new one? ("Invalid 
text
string {else} on line 14 for instance)

It doesn't do it with a <p> tags instead of <ol> - a clue?

SmartyPDT 0.5.5, PDT 1.02, Eclipse 3.3.3

Original comment by jonnybradley on 28 Jun 2008 at 7:09

Attachments: