Commit 7014311464c26b2b3bf088525cad0dd59c4be7b3

Authored by Andrey Karpikov
1 parent db0edea6

show html in text

... ... @@ -273,7 +273,7 @@ module Kanjai
273 273 end
274 274 elsif item[:name] == 'p'
275 275 if item[:children].count > 0
276   - subparts.p(attributes, self.replace_text_marker('p', item[:children][0][:source], hash_value).html_safe)
  276 + subparts << "<p>#{self.replace_text_marker('p', item[:children][0][:source], hash_value).html_safe}</p>"
277 277 end
278 278 else
279 279 subparts.send(item[:name], attributes) do |next_subparts|
... ...
1 1 module Kanjai
2   - VERSION = "0.0.302"
  2 + VERSION = "0.0.303"
3 3 end
... ...