gokhanege / phpquery

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

HTML Validation Issues #221

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Dear Friends,

I am new to phpQuery and Smarty template.
My custom developed website is using phpQuery and Smarty template.

I am facing TWO annoying issue which I couldn't solve nor find the reason.

-------------------------------------------------

1. in TPL file, if I put /> , it becomes >
which causes W3C invalid.

-------------------------------------------------

2. in TPL file, if I put some JS code, like -
Code:

$.jGrowl("<b>Invalid Search string.</b>", {life: 3000,theme: 
'jGrowl_error_msg'});

it becomes -
Code:

$.jGrowl("<b>Invalid Search string.", {life: 3000,theme: 'jGrowl_error_msg'});

Missing </b> tag. Basic HTML invalid.

-------------------------------------------------

I have attached my phpQuery directory.
Please help me out.

Original issue reported on code.google.com by ios...@gmail.com on 16 Nov 2012 at 10:07

Attachments: