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
Check for spaces on single tags >_<
zmack (author)
Sun Apr 13 01:57:10 -0700 2008
commit  509fe7990f613dba50e6fe35d89d23ab6a41ad15
tree    999186f3bf7a0d078524aabe6b737e87d49a75b6
parent  84b1e9f3456b3245bf614807946738d0a6d75bab
...
9
10
11
12
 
13
14
15
...
9
10
11
 
12
13
14
15
0
@@ -9,7 +9,7 @@ module Mephisto
0
     end
0
     
0
     def tag
0
- @tag ||= ( tags.length == 1 )?%Q{"#{tags[0]}"}:tags.collect(&:name) * ', '
0
+ @tag ||= ( (tags.length == 1) && (tags[0].to_s.include?(" ")) ) ? %("#{tags[0]}") : tags.collect(&:name) * ', '
0
     end
0
     
0
     protected

Comments

    No one has commented yet.