Changeset 5096
- Timestamp:
- 01/21/08 00:02:32 (10 months ago)
- Location:
- trunk/plugins
- Files:
-
- 2 modified
-
FM_Markdown/index.php (modified) (2 diffs)
-
FM_Modern/editor.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/plugins/FM_Markdown/index.php
r5095 r5096 9 9 $path = ROOT . "/attach/$blogid"; 10 10 $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! 13 13 require_once 'ttml.php'; 14 14 } 15 15 $view = FM_TTML_bindAttachments($id, $path, $url, $content, $useAbsolutePath, $bRssMode); 16 $view = Markdown($view); 16 17 if (is_array($keywords)) $view = FM_TTML_bindKeywords($keywords, $view); 17 18 $view = FM_TTML_bindTags($id, $view); … … 21 22 function FM_Markdown_summary($blogid, $id, $content, $keywords = array(), $useAbsolutePath = false) { 22 23 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! 24 25 require_once 'ttml.php'; 25 26 } 27 $content = Markdown($content); 26 28 $view = FM_TTML_format($blogid, $id, $content, $keywords, $useAbsolutePath, true); 27 29 if (!$blog['publishWholeOnRSS']) $view = UTF8::lessen(removeAllTags(stripHTML($view)), 255); -
trunk/plugins/FM_Modern/editor.js
r5091 r5096 1624 1624 insertTag(this.textarea, value1, value2); 1625 1625 } 1626 }1627 if(isWYSIWYG) {1628 this.correctContent();1629 1626 } 1630 1627 this.changeButtonStatus(null, null);
