aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/main/layout/construct.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/main/layout/construct.rs')
-rw-r--r--src/components/main/layout/construct.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/main/layout/construct.rs b/src/components/main/layout/construct.rs
index 398a0479042..293ba995da3 100644
--- a/src/components/main/layout/construct.rs
+++ b/src/components/main/layout/construct.rs
@@ -717,7 +717,7 @@ impl<'ln> NodeUtils for ThreadSafeLayoutNode<'ln> {
match self.type_id() {
TextNodeTypeId => {
unsafe {
- if !self.with_text(|text| text.element
+ if !self.with_text(|text| text.characterdata
.data
.chars()
.all(|c| c.is_whitespace())) {