Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

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

    Help wanted · · · – – – · · ·
    3
    4
    691
    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 Ellero
      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?

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

        @Adriano-Ellero

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

        Meta Chuh 1 Reply Last reply Reply Quote 1
        • Meta Chuh
          Meta Chuh @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 Ellero
            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
            Copyright © 2014 NodeBB Forums | Contributors