GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

public
Fork of halorgium/mephisto
Description: A mirror of the mephisto code-base
Homepage: http://mephistoblog.com/
Clone URL: git://github.com/zmack/mephisto.git
Fixed quoting for articles with multi-word tags
zmack (author)
Sat Apr 12 14:58:12 -0700 2008
commit  84b1e9f3456b3245bf614807946738d0a6d75bab
tree    17603e9dbb0f0bcfb55815f3f7946065eaf50364
parent  9072b487bf45c5e41e33c66b32d94aea84732d1b
...
9
10
11
12
 
13
14
15
...
27
28
29
30
31
 
...
9
10
11
 
12
13
14
15
...
27
28
29
 
30
31
0
@@ -9,7 +9,7 @@ module Mephisto
0
     end
0
     
0
     def tag
0
- @tag ||= tags.collect(&:name) * ', '
0
+ @tag ||= ( tags.length == 1 )?%Q{"#{tags[0]}"}:tags.collect(&:name) * ', '
0
     end
0
     
0
     protected
0
@@ -27,4 +27,4 @@ module Mephisto
0
       end
0
     end
0
   end
0
-end
0
\ No newline at end of file
0
+end

Comments

    No one has commented yet.