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.
    • Adriano ElleroA
      Adriano Ellero
      last edited by

      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?

      EkopalypseE 1 Reply Last reply Reply Quote 1
      • EkopalypseE
        Ekopalypse @Adriano Ellero
        last edited by

        @Adriano-Ellero

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

        Meta ChuhM 1 Reply Last reply Reply Quote 1
        • Meta ChuhM
          Meta Chuh moderator @Ekopalypse
          last edited by Meta Chuh

          @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
          • Adriano ElleroA
            Adriano Ellero
            last edited by

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

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