aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Lua/Marshaling
diff options
context:
space:
mode:
authorAlbert Krewinkel <albert@zeitkraut.de>2021-11-02 21:22:59 +0100
committerAlbert Krewinkel <albert@zeitkraut.de>2021-11-02 21:22:59 +0100
commit421fd736d4ee11815f1b8acc123c1d0f9e9136c7 (patch)
treec450cd1bb369d549eb919f74cac1af3292ce1db6 /src/Text/Pandoc/Lua/Marshaling
parentcce49c5d4b7429ca3455d356dff59f404f7e6d4b (diff)
downloadpandoc-421fd736d4ee11815f1b8acc123c1d0f9e9136c7.tar.gz
Lua: re-add `content` property to Strikeout elements
Fixes a regression introduced in 2.15.
Diffstat (limited to 'src/Text/Pandoc/Lua/Marshaling')
-rw-r--r--src/Text/Pandoc/Lua/Marshaling/AST.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Lua/Marshaling/AST.hs b/src/Text/Pandoc/Lua/Marshaling/AST.hs
index 4363f7e4f..e73ff43b5 100644
--- a/src/Text/Pandoc/Lua/Marshaling/AST.hs
+++ b/src/Text/Pandoc/Lua/Marshaling/AST.hs
@@ -625,6 +625,7 @@ setInlineContent = \case
Quoted qt _ -> Actual . Quoted qt . inlineContent
SmallCaps _ -> Actual . SmallCaps . inlineContent
Span attr _ -> Actual . Span attr . inlineContent
+ Strikeout _ -> Actual . Strikeout . inlineContent
Strong _ -> Actual . Strong . inlineContent
Subscript _ -> Actual . Subscript . inlineContent
Superscript _ -> Actual . Superscript . inlineContent
@@ -651,6 +652,7 @@ getInlineContent = \case
Quoted _ inlns -> Actual $ ContentInlines inlns
SmallCaps inlns -> Actual $ ContentInlines inlns
Span _ inlns -> Actual $ ContentInlines inlns
+ Strikeout inlns -> Actual $ ContentInlines inlns
Strong inlns -> Actual $ ContentInlines inlns
Subscript inlns -> Actual $ ContentInlines inlns
Superscript inlns -> Actual $ ContentInlines inlns