[
https://issues.jboss.org/browse/JBIDE-9975?page=com.atlassian.jira.plugin...
]
Denis Maliarevich edited comment on JBIDE-9975 at 1/3/12 10:51 AM:
-------------------------------------------------------------------
So both styles won't be displayed (in browser and in VPE):
{code}
<body style="background-image:url(./../css\ ( 2 )/hsqldb.png);"> - with
escaped symbol ' '
<body style="background-image:url(./../css ( 2 \)/hsqldb.png);"> - with
escaped symbol ')'
{code}
because *ALL* the parentheses and spaces should be escaped:
{code}
<body style="background-image:url(./../css\ \(\ 2\ \)/hsqldb.png);">
{code}
Did it answer your question?
was (Author: dmaliarevich):
So both styles won't be displayed (in browser and in VPE):
{code}
<body style="background-image:url(./../css\ ( 2 )/hsqldb.png);"> - with
escaped symbol ' '
<body style="background-image:url(./../css ( 2 \)/hsqldb.png);"> - with
escaped symbol ')'
{code}
because *ALL* the parentheses and spaces should be escaped:
{code}
<body style="background-image:url(./../css\ \(\ 2\ \)/hsqldb.png);">
{code}
Did it answer you question?
Escaped symbols in workspace path brake detection of CSS url path
-----------------------------------------------------------------
Key: JBIDE-9975
URL:
https://issues.jboss.org/browse/JBIDE-9975
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Visual Page Editor core
Affects Versions: 3.3.0.M4
Reporter: Vitali Yemialyanchyk
Assignee: Denis Maliarevich
Fix For: 3.3.0.Beta1
Attachments: print_share_sprite.png, screenshot-1.jpg, screenshot-2.jpg,
_example_page.html
In some cases background image in the web file is not sown. Particularly when the path to
the image is defined inside css style in "url" attribute.
The issue happens when workspace path has symbols that shuld be escaped in css, like
whitespaces, parentheses, etc: "${workspace_loc}/../runtime(2)".
When JBDS resolves this path escaped symbols are written without any changes. It conducts
to the failure that image is not displayed on the page.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira