Skip to content

Commit

Permalink
add a link to attribute selectors syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
KillyMXI committed Mar 23, 2023
1 parent 5c7a2b2 commit a185c14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/html-to-text/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ Following selectors can be used in any combinations:
* `.foo` - class name;
* `#bar` - id;
* `[baz]` - attribute presence;
* `[baz=buzz]` - attribute value (with any operators and also quotes and case sensitivity modifiers);
* `[baz=buzz]` - attribute value (with any operators and also quotes and case sensitivity modifiers - [syntax](https://developer.mozilla.org/en-US/docs/Web/CSS/Attribute_selectors#syntax));
* `+` and `>` combinators (other combinators are not supported).

You can match `<p style="...; display:INLINE; ...">...</p>` with `p[style*="display:inline"i]` for example.
Expand Down

0 comments on commit a185c14

Please sign in to comment.