Indentation problem, html & php



  • Hi friend

    I have problem with indentation in html and php,

    Example in notepad++

     <div class=col-md">
          <ul class=“list-group”>
             <li class=“list-group-item”>First item</li>
             <li class=“list-group-item”>Second item</li>
             <li class=“list-group-item”>Third item</li>
          </ul>
      </div>
    

    In notepad indent is good, but if i open with another program like sublinetext, ultraedit, bracked indentation error like

     <div class=col-md">
    <ul class="list-group">
             <li class="list-group-item">First item</li>
        <li class="list-group-item">Second item</li>
      <li class="list-group-item">Third item</li>
          </ul>
    </div>
    

    Not only for me, i submit theme to themeforest, also have warning with indentation.

    I like notepad not other editor.

    Have suggestion for auto indent work?


Log in to reply