LangToHtml 플러그인에서 함수 링크 지우기
- Posted at 2006/10/19 01:23
- Filed under 태터툴즈/Plug-in
Geshi Documentation을 아무리 또 읽고 또 읽어 보아도 제대로 안 되기에 극단적인 방법으로 링크를 걸어주는 함수를 주석 처리하기로 하였습니다. ㅡㅡ;;
주석처리 하는 방법은 플러그인 폴더 밑에 geshi/geshi.php문서의 2164행 근처를 다음과 같이 수정해 주시면 됩니다.
// Replace <|UR1| with <a href= for urls also만약 이 외에 더 좋은 방법을 알고 계신 분이 있으시다면 알려주시면 감사하겠습니다. ㅠㅠ
/*주석 처리
if (isset($this->link_styles[GESHI_LINK])) {
if ($this->use_classes) {
$stuff_to_parse = str_replace('<|UR1|', '<a' . $this->link_target . ' href=', $stuff_to_parse);
} else {
$stuff_to_parse = str_replace('<|UR1|', '<a' . $this->link_target . ' style="' . $this->link_styles[GESHI_LINK] . '" href=', $stuff_to_parse);
}
} else {
$stuff_to_parse = str_replace('<|UR1|', '<a' . $this->link_target . ' href=', $stuff_to_parse);
}
주석처리 끝*/
//
// NOW we add the span thingy ;)
Posted by Kornuri
- Tag
- LangToHtml, 소스, 태터툴즈, 플러그인, 하이라이팅
- Response
- 1 Trackback , 7 Comments


langtohtml(1.0.6).zip

