Overview
This article provides information pertaining to HTML style tag being removed from the document.
Environment
Jive HOP 9.0.5
Reproduction Steps
-
Go to Admin Console: Spaces > Settings > Filters and Macros > HTMLFilter
-
Remove "style" from the "List of Tags to be removed".
-
Click on "Save Properties" at the bottom left-hand side of that page.
-
Restart your Web Apps.
-
Create a document.
-
Click on the HTML editor icon.
-
Paste the following HTML code:
<html> <head> <style> body {background-color: powderblue;} h1 {color: blue;} p {color: red;} </style> </head> <body> <h1>This is a heading</h1> <p>This is a paragraph.</p> </body> </html>
-
Flip the editor back to the regular Full RTE.
-
Go back to the HTML editor.
Actual Behavior
The style tag and its content are removed from the HTML source code. The HTML source code is converted as follows:
<body><p></p> <h1>This is a heading</h1> <p>This is a paragraph.</p></body>
Expected Behavior
The HTML style tag remains as expected.
Resolution
Upgrade to Jive 9.0.7 or later.
The Style HTML tag is now allowed in Jive Documents, however, issues caused by the customer-defined styles are not supported.
Comments
0 comments
Article is closed for comments.