railsdog/deface — Issue #23: Wrapping around contents of whole template
Author: angelim
Created: 2012-02-24 18:29:44+00:00
State: open

I've been trying to wrap the contents of a partial, irrespective of its markup, by selecting the first and last elements.
Although the `:surround` action doesn't support using a range of elements with`:closing_selector` I was under the impression that I could replicate the desired behavior using a combination of overrides. Unfortunately I couldn't even select the first document element with Nokogiri selectors. The `*:first` syntax returns the first nodes for each element type.
This is not a Deface bug, but I couldn't find a group/list to post this sort of question.
Thanks