Replace collapsable with collapsible (#1639)
This commit is contained in:
parent
ba3f7b3e96
commit
d77d8e44e0
@ -173,7 +173,7 @@ class DOMTextScanner {
|
|||||||
// Character should be ignored
|
// Character should be ignored
|
||||||
continue;
|
continue;
|
||||||
} else if (charAttributes === 1) {
|
} else if (charAttributes === 1) {
|
||||||
// Character is collapsable whitespace
|
// Character is collapsible whitespace
|
||||||
lineHasWhitespace = true;
|
lineHasWhitespace = true;
|
||||||
} else {
|
} else {
|
||||||
// Character should be added to the content
|
// Character should be added to the content
|
||||||
@ -263,7 +263,7 @@ class DOMTextScanner {
|
|||||||
// Character should be ignored
|
// Character should be ignored
|
||||||
continue;
|
continue;
|
||||||
} else if (charAttributes === 1) {
|
} else if (charAttributes === 1) {
|
||||||
// Character is collapsable whitespace
|
// Character is collapsible whitespace
|
||||||
lineHasWhitespace = true;
|
lineHasWhitespace = true;
|
||||||
} else {
|
} else {
|
||||||
// Character should be added to the content
|
// Character should be added to the content
|
||||||
@ -449,7 +449,7 @@ class DOMTextScanner {
|
|||||||
* @param character A string containing a single character.
|
* @param character A string containing a single character.
|
||||||
* @returns An integer representing the attributes of the character.
|
* @returns An integer representing the attributes of the character.
|
||||||
* 0: Character should be ignored.
|
* 0: Character should be ignored.
|
||||||
* 1: Character is collapsable whitespace.
|
* 1: Character is collapsible whitespace.
|
||||||
* 2: Character should be added to the content.
|
* 2: Character should be added to the content.
|
||||||
* 3: Character should be added to the content and is a newline.
|
* 3: Character should be added to the content and is a newline.
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user