Community
Participate
Working Groups
Created attachment 175378 [details] screen-shot Take this code: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> [^] <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <script type="text/javascript" src="<?php echo $this->baseUrl()?>/lib/jquery.js"></script> <script type="text/javascript" src="<?php echo $this->baseUrl()?>/lib/jquery.dataTables.js"></script> <style type="text/css"> @IMPORT url("<?php echo $this->baseUrl()?>/css/demo_page.css"); @IMPORT url("<?php echo $this->baseUrl()?>/css/demo_table.css"); </style> <title>Insert title here</title> </head> <body> <?php echo $this->layout()->content; ?> </body> </html> There are some coloring problems on the css lines (see attached)
This is because css url does not support embed script. I found this in CSSTokenizer.jflex: url = ([ !#$%&*-~]|{nonascii}|{escape})* ... uri = ("url("{w}{string}{w}")"|"url("{w}{url}{w}")") So this is not a pdt bug.
Added new StructuredDocumentDamagerRepairer class for handling the issue. Contributed by Zhongwei.
I still see the same behavior, but i am working on branch. have we backported it to branch as well?
Are you using the piece of code attached here? It looks all right. Or what's your content of file?
got it now... thanks!
Verified fixed. Kalin Yanev kalin.a@zend.com