Handle native Underline in Powerpoint writer.

(Instead of old Span with underline class.
Spans with `underline` will no longer be rendered
as underlined text.)
This commit is contained in:
John MacFarlane 2020-06-22 17:56:05 -07:00
parent b1561d8e47
commit 7f8105159c
3 changed files with 1 additions and 1 deletions

View file

@ -370,7 +370,7 @@ inlineToParElems (Note blks) = do
modify $ \st -> st { stNoteIds = M.insert curNoteId blks notes }
local (\env -> env{envRunProps = (envRunProps env){rLink = Just $ InternalTarget endNotesSlideId}}) $
inlineToParElems $ Superscript [Str $ tshow curNoteId]
inlineToParElems (Span (_, ["underline"], _) ils) =
inlineToParElems (Underline ils) =
local (\r -> r{envRunProps = (envRunProps r){rPropUnderline=True}}) $
inlinesToParElems ils
inlineToParElems (Span _ ils) = inlinesToParElems ils

Binary file not shown.