| Summary: | [Syntax Coloring] Mixed CSS and PHP file has problems with coloring | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Sylvia Tancheva <silviya> | ||||
| Component: | PDT | Assignee: | Zhongwei Zhao <zhaozhongwei> | ||||
| Status: | CLOSED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P1 | CC: | gadi, ganoro | ||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Sylvia Tancheva
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 |