Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-55661

Adding text in between <div></div> tags at At end of the BODY filed in Custom HTML admin page does not cause the text to appear

XMLWordPrintable

      Summary

      When inserting texts in between the <div> </div> tags into the "At end of the body" field of the Custom HTML admin page, the text doesn't appear.

      Steps to Reproduce

      1. Go to the Custom HTML admin page
      2. Insert an HTML element onto the page in the At end of the BODY field:
        <div>test</div>
        

      Expected Results

      The word "test" appears in the footer area of the Confluence instance.

      Actual Results

      The text doesn't appear.

      Notes

      This also happens when the text is added in the filed without any html tags.

      Workaround

      Appending the text into the #footer-logo element using JQuery seems to resolve this.

      <script>
      jQuery('#footer-logo').prepend('<div style="margin:20px;" align="center">HELLO WORLD</div>');
      </script>
      

              Unassigned Unassigned
              afaridi Ahmad Faridi (Inactive)
              Votes:
              3 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: