Commit d2db1ca5ed1c1965fe3264a7b27826e3e3f76956

Authored by Andrey Karpikov
1 parent eae49634

check p

... ... @@ -286,7 +286,10 @@ module Kanjai
286 286 elsif item[:name] == 'p'
287 287 if item[:children].count > 0
288 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 293 end
291 294 else
292 295 subparts.send(item[:name], attributes) do |next_subparts|
... ...
1 1 module Kanjai
2   - VERSION = "0.0.304"
  2 + VERSION = "0.0.305"
3 3 end
... ...