Showing
2 changed files
with
4 additions
and
4 deletions
| ... | ... | @@ -224,14 +224,14 @@ module Kanjai |
| 224 | 224 | value['###FIRST_ITEM_ACTIVE###'] = '' |
| 225 | 225 | end |
| 226 | 226 | value['###REPEAT_NUMBER###'] = key.to_s |
| 227 | - self.content_generator(item[:children], subparts, value) | |
| 227 | + self.content_generator(domain, item[:children], subparts, value) | |
| 228 | 228 | end |
| 229 | 229 | end |
| 230 | 230 | else |
| 231 | 231 | attributes = self.replace_attributes_marker(item[:attributes], hash_value) |
| 232 | 232 | if item[:name] == 'select' |
| 233 | 233 | subparts.select(attributes) do |next_subparts| |
| 234 | - self.content_generator(item[:children], next_subparts, hash_value) | |
| 234 | + self.content_generator(domain, item[:children], next_subparts, hash_value) | |
| 235 | 235 | end |
| 236 | 236 | elsif item[:name] == 'p' |
| 237 | 237 | if item[:children].count > 0 |
| ... | ... | @@ -239,7 +239,7 @@ module Kanjai |
| 239 | 239 | end |
| 240 | 240 | else |
| 241 | 241 | subparts.send(item[:name], attributes) do |next_subparts| |
| 242 | - self.content_generator(item[:children], next_subparts, hash_value) | |
| 242 | + self.content_generator(domain, item[:children], next_subparts, hash_value) | |
| 243 | 243 | end |
| 244 | 244 | end |
| 245 | 245 | end | ... | ... |