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 !
Fixed Chat feather previewing [#160 state:resolved]
vito (author)
Tue Jul 15 08:10:43 -0700 2008
commit  3dbd3b2175574eee82e2609c7fba78671a638f42
tree    692b7f6969f5a9bbc0798c1d99126c77a0b77da2
parent  a7787f3e232b5f5fc4f0b7c1eced30db34cc92d6
...
54
55
56
57
58
 
 
 
59
60
61
...
54
55
56
 
 
57
58
59
60
61
62
0
@@ -54,8 +54,9 @@
0
     public function feed_content($post) {
0
       return $post->dialogue;
0
     }
0
-    public function format_dialogue($text, $post) {
0
-      $post->dialogue_unformatted = $text;
0
+    public function format_dialogue($text, $post = null) {
0
+      if (isset($post))
0
+        $post->dialogue_unformatted = $text;
0
 
0
       $split = explode("\n", $text);
0
       $return = '<ul class="dialogue">';

Comments