[jbosstools-issues] [JBoss JIRA] (JBIDE-18988) HTML5 Palette should insert a newline after <!DOCTYPE html>
Alexey Kazakov (JIRA)
issues at jboss.org
Tue Dec 23 13:56:29 EST 2014
Alexey Kazakov created JBIDE-18988:
--------------------------------------
Summary: HTML5 Palette should insert a newline after <!DOCTYPE html>
Key: JBIDE-18988
URL: https://issues.jboss.org/browse/JBIDE-18988
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: jsp/jsf/xml/html source editing
Affects Versions: 4.3.0.Alpha1
Reporter: Alexey Kazakov
Assignee: Daniel Azarov
Fix For: 4.3.0.Alpha1
1. Create the following html file:
{code:html}
<html>
</html>
{code}
2. Drag&Drop JS/CSS item from jQueryMobile group
3. Failure: The following code is inserted:
{code:html}
<!DOCTYPE html><html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.4.4/jquery.mobile-1.4.4.min.css" />
<script src="http://code.jquery.com/jquery-2.0.3.min.js"></script>
<script src="http://code.jquery.com/mobile/1.4.4/jquery.mobile-1.4.4.min.js"></script>
</head>
<body>
</body>
</html>
{code}
Assert: A new line should be inserted after the <!DOCTYPE html>:
{code:html}
<!DOCTYPE html>
<html>
...
</html>
{code}
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
More information about the jbosstools-issues
mailing list