Details
-
New Feature
-
Resolution: Solved By
-
Major
-
None
-
Rendering in the platform
-
None
-
disable html macro
-
N/A
-
N/A
-
Description
http://dev.xwiki.org/xwiki/bin/view/Design/NewRenderingArchitecture
makes mention of disabling the HTML macro, but it appears that there is currently no safe way of doing this (simply removing the xwiki-core-rendering-macro-html-<version>.jar will likely break XWiki)
The use case for wanting to disable the HTML macro is essentially referenced here
http://massol.myxwiki.org/xwiki/bin/view/Blog/XWiki
I have 2 requirements;
1) explicily NOT allow javascript to be entered (to help prevent malicious scripts)
2) allow only a specified syntax, that is, do not allow users to enter html elements (primarily to keep content in the same format)
Attachments
Issue Links
- depends on
-
XWIKI-6060 Create Display macro
- Closed
-
XWIKI-7517 Add support for displaying properties in the {{display}} macro
- Open
-
XWIKI-4096 RSS macro shouldn't transform the feed's HTML
- Closed