Christian Lenz created NETBEANS-1640:
----------------------------------------

             Summary: Adding real formatting for HTML
                 Key: NETBEANS-1640
                 URL: https://issues.apache.org/jira/browse/NETBEANS-1640
             Project: NetBeans
          Issue Type: New Feature
          Components: web - HTML Editor
    Affects Versions: 8.2, 10.0
            Reporter: Christian Lenz


As you can see it in the external ticket and in this one: 
https://netbeans.org/bugzilla/show_bug.cgi?id=249760 it is not possible to 
format a one line, minifed HTML back to the original one. Or any other code 
snippets, that you copied from somewhere else.

In JSON this is working great, a one line JSON, will format and beautify the 
JSON to a more readable one.

In HTML it will only fix indentation but will not beautify minified HTML.

So this: {code:html}<div><div><ul><li></li></ul></div></div>{code}

Should expand to:
{code:html}
<div>
    <div>
        <ul>
            <li></li>
        </ul>
    </div>
</div>
{code}

Please let me know whether you need more information.


Cheers

Chris



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to