Skip to content

Instantly share code, notes, and snippets.

View imredcat's full-sized avatar
🌴
On vacation

imredcat

🌴
On vacation
View GitHub Profile
@imredcat
imredcat / gist:773fe65296f2e4c58c8d9d83d9e31f31
Created July 18, 2017 04:43 — forked from kijin/gist:5829736
HTML Purifier 사용예제
// 웹사이트에서 다운받아 적당한 곳에 압축 푸세요.
require_once('/경로/htmlpurifier/library/HTMLPurifier.auto.php');
// 기본 설정을 불러온 후 적당히 커스터마이징을 해줍니다.
$config = HTMLPurifier_Config::createDefault();
$config->set('Attr.EnableID', false);
$config->set('Attr.DefaultImageAlt', '');
// 인터넷 주소를 자동으로 링크로 바꿔주는 기능
$config->set('AutoFormat.Linkify', true);
/**
* @name SE_QuickEditor_Image
* @description Quick Editor Image function Class
* @author NHN AjaxUI Lab - cielo
* @version 1.0
* @since 2009.10
*/
nhn.husky.SE_QuickEditor_Image = jindo.$Class({
name : "SE_QuickEditor_Image",
_aQEImg : [],