Changeset 5096

Show
Ignore:
Timestamp:
01/21/08 00:02:32 (10 months ago)
Author:
inureyes
Message:

#806

  • markdown 포매터 보정
Location:
trunk/plugins
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/plugins/FM_Markdown/index.php

    r5095 r5096  
    99    $path = ROOT . "/attach/$blogid"; 
    1010    $url = "{$service['path']}/attach/$blogid"; 
    11     $content = Markdown($content); 
    12     if(!function_exists(FM_TTML_bindAttachments)) { // To reduce the amount of loading code! 
     11    //$content = Markdown($content); 
     12    if(!function_exists('FM_TTML_bindAttachments')) { // To reduce the amount of loading code! 
    1313        require_once 'ttml.php'; 
    1414    } 
    1515    $view = FM_TTML_bindAttachments($id, $path, $url, $content, $useAbsolutePath, $bRssMode); 
     16    $view = Markdown($view); 
    1617    if (is_array($keywords)) $view = FM_TTML_bindKeywords($keywords, $view); 
    1718    $view = FM_TTML_bindTags($id, $view); 
     
    2122function FM_Markdown_summary($blogid, $id, $content, $keywords = array(), $useAbsolutePath = false) { 
    2223    global $blog; 
    23     if(!function_exists(FM_TTML_bindAttachments)) { // To reduce the amount of loading code! 
     24    if(!function_exists('FM_TTML_bindAttachments')) { // To reduce the amount of loading code! 
    2425        require_once 'ttml.php'; 
    2526    } 
     27    $content = Markdown($content); 
    2628    $view = FM_TTML_format($blogid, $id, $content, $keywords, $useAbsolutePath, true); 
    2729    if (!$blog['publishWholeOnRSS']) $view = UTF8::lessen(removeAllTags(stripHTML($view)), 255); 
  • trunk/plugins/FM_Modern/editor.js

    r5091 r5096  
    16241624                insertTag(this.textarea, value1, value2); 
    16251625            } 
    1626     } 
    1627     if(isWYSIWYG) { 
    1628         this.correctContent(); 
    16291626    } 
    16301627    this.changeButtonStatus(null, null);