summaryrefslogtreecommitdiff
path: root/src/library/text/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/library/text/mod.rs')
-rw-r--r--src/library/text/mod.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/library/text/mod.rs b/src/library/text/mod.rs
index ecc0c546..df00d87a 100644
--- a/src/library/text/mod.rs
+++ b/src/library/text/mod.rs
@@ -463,6 +463,10 @@ impl StrongNode {
}
impl Show for StrongNode {
+ fn unguard(&self, sel: Selector) -> ShowNode {
+ Self(self.0.unguard(sel)).pack()
+ }
+
fn encode(&self) -> Dict {
dict! { "body" => Value::Content(self.0.clone()) }
}
@@ -484,6 +488,10 @@ impl EmphNode {
}
impl Show for EmphNode {
+ fn unguard(&self, sel: Selector) -> ShowNode {
+ Self(self.0.unguard(sel)).pack()
+ }
+
fn encode(&self) -> Dict {
dict! { "body" => Value::Content(self.0.clone()) }
}