aboutsummaryrefslogtreecommitdiff
path: root/ext/js/dom/dom-text-scanner.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/js/dom/dom-text-scanner.js')
-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.
*/