mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 18:51:41 +09:00
제로보드XE의 기본 스타일에서 body,p,div,ul,ol,li,dd,dt,span,fieldset,h1,h2,h3,h4,h5,h6 에 대해서만 margin, padding을 0으로 수정. 이로 인해 기존 스킨들에서 문제가 생길 수 있으며 계속 디버깅 해야 함
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3492 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
823ee82b1d
commit
b73c48ecbc
3 changed files with 5 additions and 7 deletions
|
|
@ -183,7 +183,7 @@
|
|||
$member_srl = $source_list[$i]->member_srl;
|
||||
|
||||
// OL/LI 태그를 위한 치환 처리
|
||||
$source_list[$i]->content = preg_replace('!<(ol|ul|blockquote)>!is','<\\1 style="margin-left:40px;">',$source_list[$i]->content);
|
||||
//$source_list[$i]->content = preg_replace('!<(ol|ul|blockquote)>!is','<\\1 style="margin-left:40px;">',$source_list[$i]->content);
|
||||
|
||||
// url에 대해서 정규표현식으로 치환
|
||||
$source_list[$i]->content = preg_replace('!([^>^"^\'^=])(http|https|ftp|mms):\/\/([^ ^<^"^\']*)!is','$1<a href="$2://$3" onclick="window.open(this.href);return false;">$2://$3</a>',' '.$source_list[$i]->content);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue