Showing
2 changed files
with
2 additions
and
2 deletions
| @@ -273,7 +273,7 @@ module Kanjai | @@ -273,7 +273,7 @@ module Kanjai | ||
| 273 | end | 273 | end |
| 274 | elsif item[:name] == 'p' | 274 | elsif item[:name] == 'p' |
| 275 | if item[:children].count > 0 | 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 | end | 277 | end |
| 278 | else | 278 | else |
| 279 | subparts.send(item[:name], attributes) do |next_subparts| | 279 | subparts.send(item[:name], attributes) do |next_subparts| |