Commit d2db1ca5ed1c1965fe3264a7b27826e3e3f76956

Authored by Andrey Karpikov
1 parent eae49634

check p

@@ -286,7 +286,10 @@ module Kanjai @@ -286,7 +286,10 @@ module Kanjai
286 elsif item[:name] == 'p' 286 elsif item[:name] == 'p'
287 if item[:children].count > 0 287 if item[:children].count > 0
288 #subparts << "<p>#{self.replace_text_marker('p', item[:children][0][:source], hash_value).html_safe}</p>" 288 #subparts << "<p>#{self.replace_text_marker('p', item[:children][0][:source], hash_value).html_safe}</p>"
289 - subparts.p(attributes, self.replace_text_marker('p', item[:children][0][:source], hash_value).html_safe) 289 + #subparts.p(attributes, self.replace_text_marker('p', item[:children][0][:source], hash_value).html_safe)
  290 + subparts.send(item[:name], attributes) do |next_subparts|
  291 + next_subparts << self.replace_text_marker('p', item[:children][0][:source], hash_value).html_safe
  292 + end
290 end 293 end
291 else 294 else
292 subparts.send(item[:name], attributes) do |next_subparts| 295 subparts.send(item[:name], attributes) do |next_subparts|
1 module Kanjai 1 module Kanjai
2 - VERSION = "0.0.304" 2 + VERSION = "0.0.305"
3 end 3 end