-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
4.5.3, 5.0
When editing a policy via Site admin > Users > Policies and agreements > Manage policies > Action > Edit, some HTML tags/attributes get stripped out.
The content (including all tags/attributes) gets saved correctly in the database table, tool_policy_versions. But if you edit the policy again, the content loaded in the editor will be a cleaned version of the original content. Some tags and attributes may be stripped out.
For example,
Enter the following as the content in the editor (in HTML source view/mode):
<p><span class="mytest border" data-test="ABC123" aria-label="testing">Enter the policy details here.</span></p> |
Save changes.
Edit the policy again. Switch to the HTML source mode of the editor. Notice that the content is:
<p><span class="mytest border">Enter the policy details here.</span></p> |
Some attributes have been stripped out.
- has been marked as being related by
-
MDL-85692 PR only: MDL-84976 - Some HTML tags/attributes get stripped when editing policies
-
- Closed
-