• Login
Community
  • Login

auto-ident problem using XML tools plug-in in HTML pages

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
4 Posts 3 Posters 991 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A
    Adriano Ellero
    last edited by Mar 9, 2019, 8:18 PM

    Using XML tools plung-in I have issues with <br> tags in HTML pages.
    For each <br> the plug-in add a column as tab-empy space, same as standard HTML tags (i.e. <p> </p>).
    Any hint?

    E 1 Reply Last reply Mar 9, 2019, 10:27 PM Reply Quote 1
    • E
      Ekopalypse @Adriano Ellero
      last edited by Mar 9, 2019, 10:27 PM

      @Adriano-Ellero

      sorry, don’t understand your question. What do you want to achieve?

      M 1 Reply Last reply Mar 9, 2019, 11:09 PM Reply Quote 1
      • M
        Meta Chuh moderator @Ekopalypse
        last edited by Meta Chuh Mar 9, 2019, 11:10 PM Mar 9, 2019, 11:09 PM

        @Ekopalypse

        i think the xml tools auto formatting/auto indentation (pretty print) has a problem with a html line break written as <br>, as it does not have a closing / tag.

        @Adriano-Ellero

        sorry about not replying to your other thread about <br> yet.

        if my assumption from above is correct:
        i did not find any workaround using xml tools with an unclosed <br> yet.

        the only way i got auto indentation to work is by using a self closing <br/> instead.
        unfortunately many coders use <br> instead of <br/> since it is also valid.

        so until anyone finds any workaround for the xml tools auto indentation, or has a better alternative plugin, which is available for x64, you would have to replace all <br> with <br/>.

        1 Reply Last reply Reply Quote 3
        • A
          Adriano Ellero
          last edited by Mar 10, 2019, 9:31 AM

          thanks I did on that way <br />
          all browsers accept that!

          1 Reply Last reply Reply Quote 2
          3 out of 4
          • First post
            3/4
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors