Community
    • Login

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

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    4 Posts 3 Posters 1.4k Views 1 Watching
    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 Offline
      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 Offline
        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 Offline
          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 Offline
            Adriano Ellero
            last edited by

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

            1 Reply Last reply Reply Quote 2

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • First post
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors