lib/zafu/process/context.rb in zafu-0.6.2 vs lib/zafu/process/context.rb in zafu-0.6.3
- old
+ new
@@ -32,10 +32,14 @@
end
with_context(:node => node.move_to(var, node.klass.first)) do
# The id set here should be used as prefix for sub-nodes to ensure uniqueness of generated DOM ids
- node.propagate_dom_scope!
+ if node.list_context?
+ # we are still in a list (example: previous context was [[Node]], current is [Node])
+ else
+ node.propagate_dom_scope!
+ end
steal_and_eval_html_params_for(@markup, @params)
if need_dom_id?
set_dom_prefix