Uploaded image for project: 'Hippo Site Toolkit 2'
  1. Hippo Site Toolkit 2
  2. HSTTWO-1610

<hst:html> displays "null" when the HTML is <body/>

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 2.22.00
    • Fix Version/s: 2.22.03, 2.23.01
    • Component/s: None
    • Labels:
      None
    • Similar issues:

      Description

      When the HML is <html><body/></html>, the content rewriter returns a null value, which is then displayed as "null" by the <hst:html> tag. Because it is hard to check before displaying it whether the HTML is empty or not, I think it should display an empty string instead of "null".

      In HstHtmlTag class, something like that should do the job (not tested): writer.print(html != null ? html : "");

        Attachments

          Activity

            People

            • Assignee:
              aschrijvers Ard Schrijvers
              Reporter:
              mtricot Mickaël Tricot (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: