summaryrefslogtreecommitdiff
path: root/ext/js/dom
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-04-30 17:59:20 -0400
committerGitHub <noreply@github.com>2021-04-30 17:59:20 -0400
commitd77d8e44e01e8a4d533b75d286c777f9f7f986bc (patch)
tree42b46f3545f0f2bf303ada504e84205833baf9c8 /ext/js/dom
parentba3f7b3e96df7f034b56132d8c2c90289e16c288 (diff)
Replace collapsable with collapsible (#1639)
Diffstat (limited to 'ext/js/dom')
-rw-r--r--ext/js/dom/dom-text-scanner.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/js/dom/dom-text-scanner.js b/ext/js/dom/dom-text-scanner.js
index 8010dd97..c631b4b6 100644
--- a/ext/js/dom/dom-text-scanner.js
+++ b/ext/js/dom/dom-text-scanner.js
@@ -173,7 +173,7 @@ class DOMTextScanner {
// Character should be ignored
continue;
} else if (charAttributes === 1) {
- // Character is collapsable whitespace
+ // Character is collapsible whitespace
lineHasWhitespace = true;
} else {
// Character should be added to the content
@@ -263,7 +263,7 @@ class DOMTextScanner {
// Character should be ignored
continue;
} else if (charAttributes === 1) {
- // Character is collapsable whitespace
+ // Character is collapsible whitespace
lineHasWhitespace = true;
} else {
// Character should be added to the content
@@ -449,7 +449,7 @@ class DOMTextScanner {
* @param character A string containing a single character.
* @returns An integer representing the attributes of the character.
* 0: Character should be ignored.
- * 1: Character is collapsable whitespace.
+ * 1: Character is collapsible whitespace.
* 2: Character should be added to the content.
* 3: Character should be added to the content and is a newline.
*/