0

I have a list

<ul>
  <li>item</li>
<li>item</li>
  <li>item</li>
<li>item</li>
</ul>

When I press code/reformat code in menu, nothing not happened? But this action work for PHP or JavaScript file. How to make the editor format HTML code?

1 Answer 1

0

Make sure that <ul> and <li> are not listed in Settings/Editor/Code Style/HTML/Other/Do not indent children of option.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .