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

HTML macro failed to render the CSS setting correctly

    XMLWordPrintable

Details

    Description

      Here are the steps to reproduce the issue:

      1. Enable all HTML module for the HTML plugin.
      2. Create a new page with the following code in the HTML macro:
        <html>
        <head>
        <style type="text/css">
        body {
        	background-color:yellow !important
        }
        </style>
        </head>
        <body>
        <p>css script</p>
        </body>
        <html>
        
      3. In the HTML macro preview, it shows up correctly:
      4. In the page preview, it fails to apply the background colour to the text:
      5. After saving the page, the background colour is not rendered at all.

      Attachments

        1. macro_preview.png
          macro_preview.png
          19 kB
        2. page_preview.png
          page_preview.png
          12 kB
        3. page_saved.png
          page_saved.png
          14 kB

        Activity

          People

            Unassigned Unassigned
            yilinmo Yilin (Inactive)
            Votes:
            3 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated: