Changeset 5564

Show
Ignore:
Timestamp:
03/08/08 02:42:03 (10 months ago)
Author:
inureyes
Message:

#779

  • 태그 싹 지우고 처리하니 동작하지가 않는다.
  • 태그 처리 타이밍을 removeAllTags로 이동
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/lib/blog.skin.php

    r5563 r5564  
    560560 
    561561function removeAllTags($contents) { 
     562    handleTags($contents); 
    562563    $contents = preg_replace('/\[#M_[^|]*\|[^|]*\|/Us', '', str_replace('_M#]', '', preg_replace('/\[##_.+_##\]/Us', '', $contents))); 
    563564    $contents = preg_replace('@<(s_[0-9a-zA-Z_]+)>.*?</\1>@s', '', $contents); 
     
    594595//      unset($contentContainer[$keys[$i]]); 
    595596    } 
    596     handleTags($content); 
    597597    return $content; 
    598598}