Skip to content

Commit 4bafcac

Browse files
NdpntMattiSG
andauthored
Improve wording
Co-authored-by: Matti Schneider <[email protected]>
1 parent 93fac44 commit 4bafcac

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

content/terms/explanation/filters.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Filters address this need by providing a way to programmatically clean up and no
1111
Filters take the document DOM and the terms declaration as parameters and are:
1212

1313
- **in-place**: they modify the document structure and content directly;
14-
- **idempotent**: they should return the same document structure and content even if run repeatedly on their own result.
14+
- **idempotent**: they return the same document structure and content even if run repeatedly on their own result.
1515

1616
Filters are loaded automatically from files named after the service they operate on. For example, filters for the Meetup service, which is declared in `declarations/Meetup.json`, are loaded from `declarations/Meetup.filters.js`.
1717

content/terms/explanation/range-selectors.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Range selectors
44

55
## Range selectors
66

7-
Content between two elements in a document can be selected using a range selector, regardless of their DOM position. When no unique wrapper element exists for the whole terms content and their is no easy way to select the content with only CSS selectors, range selectors can be utilized. The concept is inspired by the [Range API](https://developer.mozilla.org/en-US/docs/Web/API/Range), where content is defined by start and end points that may be inclusive or exclusive. The format is defined as a JSON object in the following way:
7+
When no unique wrapper element exists for the whole terms content, there is no easy way to select the content with only CSS selectors. Content between two elements in a document can be selected using a range selector, regardless of their DOM position. The concept is inspired by the DOM [Range API](https://developer.mozilla.org/en-US/docs/Web/API/Range), where content is defined by start and end points that may be included or excluded. The format is defined as a JSON object:
88

99
```json
1010
{

0 commit comments

Comments
 (0)