HTML string formatting not working?

I adjusted the formatting settings in VS 2010 format to perform line breaks "Before opening, within and after closing" for many tags, such as <a>and tags <li>.

But when formatting a document, it only looks like this:

<ul>
    <li>
        <a href="#">
            Item 0</a></li>
    <li>
        <a href="#">
            Item 1</a></li>
    <li>
        ...

How can I make VS 2010 (or 2008) the HMTL format this way?

<ul>
    <li>
        <a href="#">
            Item 0
        </a>
    </li>
    <li>
        <a href="#">
            Item 1
        </a>
    </li>
    <li>
        ...
+3
source share
1 answer

Source: https://habr.com/ru/post/1759478/


All Articles