Skip to content

Commit

Permalink
Merge pull request #1806 from mdzw/patch-2
Browse files Browse the repository at this point in the history
Fix lift node example markup
  • Loading branch information
Shadowfiend authored Sep 2, 2016
2 parents dff02c2 + 670dbe4 commit 5033c87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/css-selectors.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -282,8 +282,8 @@ Lift node rule: `^^`::
_first_ element that matches the selector, and that it lifts it all the way to
the root of the `NodeSeq` being transformed. For example,
`".admin-user ^^" #> "ignored"`, when applied to the
markup `<div><form><fieldset class=".admin-user">...</fieldset>
<fieldset class="power-user">...</fieldset></div>`, will
markup `<div><form><fieldset class="admin-user">...</fieldset>
<fieldset class="power-user">...</fieldset></form></div>`, will
produce `<fieldset class="admin-user">...</fieldset>`. This is useful for
selecting among a set of template elements based on some external condition
(e.g., one template for one type of user, another template for another type of
Expand Down

0 comments on commit 5033c87

Please sign in to comment.