public
Description: The ultra-lightweight ultra-flexible blogging engine with a fetish for birds and misspellings.
Homepage: http://chyrp.net/
Clone URL: git://github.com/vito/chyrp.git
Click here to lend your support to: chyrp and make a donation at www.pledgie.com !
Increased the priorities of Markdown and Textilize filters so that they do not 
conflict with SmartyPants' quotifying code.
vito (author)
Sat Nov 01 07:47:13 -0700 2008
commit  0e9d685bab4b36369eccf4d53d034ddca5ed47c0
tree    236a5d4eda943001713bb8f557268286f4375846
parent  28b3e8935d2197ed887168cf952c9716db2227c5
...
3
4
5
6
7
 
 
8
9
10
...
3
4
5
 
 
6
7
8
9
10
0
@@ -3,8 +3,8 @@
0
 
0
     class Markdown extends Modules {
0
         public function __init() {
0
-            $this->addAlias("markup_text", "markdownify", 9);
0
-            $this->addAlias("preview", "markdownify");
0
+            $this->addAlias("markup_text", "markdownify", 8);
0
+            $this->addAlias("preview", "markdownify", 8);
0
         }
0
         static function markdownify($text) {
0
             return Markdown($text);
...
5
6
7
8
 
9
10
11
...
5
6
7
 
8
9
10
11
0
@@ -5,7 +5,7 @@
0
         public function __init() {
0
             $this->addAlias("markup_text", "smartify", 9);
0
             $this->addAlias("markup_title", "smartify", 9);
0
-            $this->addAlias("preview", "smartify");
0
+            $this->addAlias("preview", "smartify", 9);
0
         }
0
         static function smartify($text) {
0
             return Smartypants($text);
...
4
5
6
7
8
 
 
9
10
11
...
4
5
6
 
 
7
8
9
10
11
0
@@ -4,8 +4,8 @@
0
     class Textilize extends Modules {
0
         public function __init() {
0
             $this->textile = new Textile();
0
-            $this->addAlias("markup_text", "textile", 9);
0
-            $this->addAlias("preview", "textile");
0
+            $this->addAlias("markup_text", "textile", 8);
0
+            $this->addAlias("preview", "textile", 8);
0
         }
0
         public function textile($text) {
0
             return $this->textile->TextileThis($text);

Comments