Describe the bug
Setting in the admin html-core rendering options to open external links in new tab doesn't work.
It seems that the target tag is being stripped by the html-security rendering module.
To Reproduce
Steps to reproduce the behavior:
- Enable the html-security rendering module and enable the sanitize html setting
- In the html-core rendering module enable the external links to open in new tab setting
- Add an external link in a page
- The link has the
rel tag and the is-external-link class, but not the target attribute
Expected behavior
External links should open in a new window
Host Info (please complete the following information):
- OS: Docker
- Wiki.js version: 2.4.105
- Database engine: aws aurora postgress
Describe the bug
Setting in the admin html-core rendering options to open external links in new tab doesn't work.
It seems that the target tag is being stripped by the html-security rendering module.
To Reproduce
Steps to reproduce the behavior:
reltag and theis-external-linkclass, but not thetargetattributeExpected behavior
External links should open in a new window
Host Info (please complete the following information):