Uploaded image for project: '[Read Only] - Hippo Site Toolkit 2'
  1. [Read Only] - Hippo Site Toolkit 2
  2. HSTTWO-1610

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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • 2.22.00
    • 2.22.03, 2.23.01
    • None
    • None

    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

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

            Dates

              Created:
              Updated:
              Resolved: