JBIDE-15194 Wrong text formating when inserting a code snippet from jQuery Mobile palette

Issue is fixed. JUnit Test case is created for the issue.