內容簡介
HTMLawed 是 PHP Labware 開發的 HTML 清理與驗證工具,採用 LGPL3 及 GPL2+ 兩種授權方式。
該外掛程式會將 HTMLawed(目前版本為1.1.16) 作為貼文與標題內容的過濾器運行,使用預設設
定,嵌入式標籤、腳本標籤、內置樣式表和 iframe 將被從 HTML 中刪除。
設定
有關 HTMLawed 的設定選項,請參閱其官方文檔。外掛包含的 .htmlawedconfig 檔案遵循 .ini 檔案語法,默
認情況下會刪除 xss-unsafe 元素的內容。該檔案將不會出現在 WordPress 外掛編輯器中。
外掛標籤
開發者團隊
原文外掛簡介
HTMLawed is an html sanitizer and validator by PHP Labware, dual licenced with LGPL3 and GPL2+.
This plugin will run HTMLawed (current version 1.1.16) as a filter on post and title content. Using
the default settings embed tags, script tags, inline stylesheets and iframes will be removed from the html.
Config
Refer to the htmlawed documentation for config options for htmlawed. The .htmlawedconfig file
included with the plugin follows the .ini file syntax and by default strips content for xss-unsafe
elements. This file will not show up in the wordpress plugin editor.
