https://stackoverflow.com/questions/10406841/with-htmlpurifier-how-to-add-a-couple-attributes-to-the-default-whitelist-e-g
https://github.com/chrisShick/CakePHP3-HtmlPurifier/blob/master/src/Model/Behavior/HtmlPurifierBehavior.php
https://hotexamples.com/examples/-/HTMLPurifier_Config/getHTMLDefinition/php-htmlpurifier_config-gethtmldefinition-method-examples.html
https://stackoverflow.com/questions/6230323/modifying-htmlpurifier-allowed-tags-for-this-markup
https://stackoverrun.com/ko/q/2185037
http://htmlpurifier.org/demo.php?filter%5BAutoFormat.AutoParagraph%5D=0&filter%5BAutoFormat.DisplayLinkURI%5D=0&filter%5BAutoFormat.Linkify%5D=0&filter%5BAutoFormat.RemoveEmpty.Predicate%5D=colgroup%3A%0D%0Ath%3A%0D%0Atd%3A%0D%0Aiframe%3Asrc%0D%0A&filter%5BAutoFormat.RemoveEmpty%5D=0&filter%5BAutoFormat.RemoveSpansWithoutAttributes%5D=0&filter%5BNull_CSS.AllowedProperties%5D=1&filter%5BCore.CollectErrors%5D=0&filter%5BHTML.Allowed%5D=p%5Balign%7Cstyle%5D%2Cstrong%2Ca%5Bhref%7Ctitle%7Cmailto%5D%2Cem%2Ctable%5Bclass%7Cwidth%7Ccellpadding%5D%2Ctd%2Ctr%2Ch3%2Ch4%2Ch5%2Chr%2Cbr%2Cu%2Cul%2Col%2Cli%2Cimg%5Bsrc%7Cwidth%7Cheight%7Calt%7Cclass%5D%2Cspan%5Bclass%5D%2Cstrike%2Csup%2Csub&filter%5BNull_HTML.Doctype%5D=1&filter%5BHTML.SafeObject%5D=0&filter%5BHTML.TidyLevel%5D=medium&filter%5BURI.DisableExternalResources%5D=0&filter%5BNull_URI.Munge%5D=1&html=%3Cp+align%3D%22center%22+a1+%3Easdf%3C%2Fp%3E&submit=Submit
'[ Web 관련 ] > php' 카테고리의 다른 글
DateTime 함수 오류 500 (Internal Server Error) (0) | 2019.04.26 |
---|---|
<? php 생략 (0) | 2019.04.25 |
인코딩 변경(한글 깨질때) euc-kr -> utf-8 (0) | 2019.02.22 |
php 접속 브라우저의 언어 체크 (0) | 2019.02.12 |
.htaccess 파일에 강제로 www 붙이거나 삭제하기 (0) | 2018.12.04 |