Skip to content

Commit a185c14

Browse files
committed
add a link to attribute selectors syntax
1 parent 5c7a2b2 commit a185c14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/html-to-text/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ Following selectors can be used in any combinations:
168168
* `.foo` - class name;
169169
* `#bar` - id;
170170
* `[baz]` - attribute presence;
171-
* `[baz=buzz]` - attribute value (with any operators and also quotes and case sensitivity modifiers);
171+
* `[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));
172172
* `+` and `>` combinators (other combinators are not supported).
173173

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

0 commit comments

Comments
 (0)