[jbosstools-issues] [JBoss JIRA] (JBIDE-18988) HTML5 Palette should insert a newline after <!DOCTYPE html>

Vlado Pakan (JIRA) issues at jboss.org
Tue Feb 17 15:31:49 EST 2015


     [ https://issues.jboss.org/browse/JBIDE-18988?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vlado Pakan closed JBIDE-18988.
-------------------------------


Verified with JBDS 9.0.0.Alpha1-v20150216-1042-B11

> 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