[
https://issues.jboss.org/browse/JBIDE-15111?page=com.atlassian.jira.plugi...
]
Max Rydahl Andersen updated JBIDE-15111:
----------------------------------------
Fix Version/s: 4.1.1.Alpha1
(was: 4.1.x)
Bad text formatting when inserting JS/CSS from jQuery Mobile Widget
Palette
---------------------------------------------------------------------------
Key: JBIDE-15111
URL:
https://issues.jboss.org/browse/JBIDE-15111
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: jsp/jsf/xml/html source editing
Affects Versions: 4.1.0.Beta2
Reporter: Daniel Azarov
Assignee: Denis Golovin
Fix For: 4.1.1.Alpha1, 4.2.0.Alpha1
1. We should use the preferences/settings of the editor to insert space symbols (N
spaces/tab) instead of hardcoded " ".
2. Suppose we have the following code:
{code}
<!DOCTYPE html>
<html>
<body>
</body>
</html>
{code}
After inserting JS/CSS result will be:
{code}
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width,
initial-scale=1">
<link rel="stylesheet"
href="http://code.jquery.com/mobile/1.3.1/jquery.mobile-1.3.1.min.cs... />
<script
src="http://code.jquery.com/jquery-1.9.1.min.js"></script...
<script
src="http://code.jquery.com/mobile/1.3.1/jquery.mobile-1.3.1.min.js&...
</head>
<body>
</body>
</html>
{code}
There is empty line in <head>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira