Commit abb218e8c02a27945a86a56870e0e4dcefd9cfbd

Authored by Andrey Karpikov
1 parent 48f6b3fb

remove space

@@ -295,7 +295,7 @@ module Kanjai @@ -295,7 +295,7 @@ module Kanjai
295 end 295 end
296 elsif item[:name] == 'p' 296 elsif item[:name] == 'p'
297 if item[:children].count > 0 297 if item[:children].count > 0
298 - subparts << "<p #{attributes.to_a.collect{|item| "#{item.first}='#{item.last}'" }.join(' ')} >#{self.replace_text_marker('p', item[:children][0][:source], hash_value).html_safe}</p>" 298 + subparts << "<p #{attributes.to_a.collect{|item| "#{item.first}='#{item.last}'" }.join(' ')} >#{self.replace_text_marker('p', item[:children][0][:source].to_s.strip, hash_value).html_safe}</p>"
299 #subparts.p(attributes, self.replace_text_marker('p', item[:children][0][:source], hash_value).html_safe) 299 #subparts.p(attributes, self.replace_text_marker('p', item[:children][0][:source], hash_value).html_safe)
300 end 300 end
301 else 301 else
1 module Kanjai 1 module Kanjai
2 - VERSION = "0.0.327" 2 + VERSION = "0.0.328"
3 end 3 end