Eliminate whitespace comments from generated pages

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 17
    • Affects Version/s: 15
    • Component/s: tools
    • None

      Every generated page contains a fragment like this:

      <!-- ========= END OF TOP NAVBAR ========= -->
      <span class="skip-nav" id="skip.navbar.top">
      <!-- -->
      </span></nav>
      </header>

      The <span> element contains both a newline and a comment and needs neither. They should both be removed.

      The comment was originally used as a "workaround" to prevent the <span> element being dropped for being empty by the internal HTMLTree.add code. We now have better ways to manage that.

            Assignee:
            Jonathan Gibbons
            Reporter:
            Jonathan Gibbons
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: