How do I add 'javascript' url scheme in HTML purifier module in Drupal?

青春壹個敷衍的年華 提交于 2019-12-24 21:42:20

问题


How can I can add the "javascript:xyz" url format for the URI.AllowedSchemes in HTML purifier module in drupal ?

I suppose this is the file I should modify URI.AllowedSchemes or is there any other config change I need to make. This is for the site moderator to publish bookmarklets and will not be exposed to outside world.


回答1:


http://htmlpurifier.org/docs/enduser-uri-filter.html



来源:https://stackoverflow.com/questions/5138282/how-do-i-add-javascript-url-scheme-in-html-purifier-module-in-drupal

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!