Showing
2 changed files
with
2 additions
and
2 deletions
| ... | ... | @@ -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| | ... | ... |