// 문자셋을 지정해 줍니다.
$config->set('Core.Encoding', $g4['charset']);
// <p> </p> 같은 코드가 정상으로 출력되게 합니다.
// http://stackoverflow.com/questions/7104689/html-purifier-clears-p-tag
$config->set('Core.EscapeNonASCIICharacters', true);
// 인터넷 주소를 자동으로 링크로 바꿔주는 기능
$config->set('AutoFormat.Linkify', true);
// 이미지 크기 제한 해제 (한국에서 많이 쓰는 웹툰이나 짤방과 호환성 유지를 위해)
$config->set('HTML.MaxImgLength', null);
$config->set('CSS.MaxImgLength', null);
- opencode.co.kr -