Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Any
    • Number of attachments :
      0

      Description

      There is too much whitespace in the site.jsl Jelly script that converts xdocs to HTML. This results in some ugly HTML option (especially when the original xdoc source document has a lot of HTML markup).

      There is an easy fix: simply remove the whitespace from the last few Jelly templates in the stylesheet:

      <!-- copy any other elements through -->
      <jsl:template match="*" trim="false"><jsl:copy trim="false"><jsl:applyTemplates trim="false"/></jsl:copy></jsl:template>

      <!-- element values don't pass through as text -->
      <jsl:template match="@*"/>

      <!-- CDATA and text nodes pass-thru -->
      <jsl:template match="text()"><x:expr select="."/></jsl:template>

      </jsl:stylesheet>

        Activity

        Hide
        dion gillard added a comment -

        Applied in xdoc 1.5-SNAPSHOT.
        Not too much of a gain though

        Show
        dion gillard added a comment - Applied in xdoc 1.5-SNAPSHOT. Not too much of a gain though

          People

          • Assignee:
            Unassigned
            Reporter:
            Paul Strack
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: