-
Bug
-
Resolution: Done
-
Major
-
4.3.0.Alpha1
-
None
1. Create the following html file:
<html> </html>
2. Drag&Drop JS/CSS item from jQueryMobile group
3. Failure: The following code is inserted:
<!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>
Assert: A new line should be inserted after the <!DOCTYPE html>:
<!DOCTYPE html> <html> ... </html>