Docx Reader: Single underlines are "emph"
All other underlines are ignored.
This commit is contained in:
parent
0565a81676
commit
57939a9282
1 changed files with 2 additions and 1 deletions
|
@ -219,7 +219,8 @@ runStyleToContainers rPr =
|
|||
, if isStrike rPr then (Just Strikeout) else Nothing
|
||||
, if isSuperScript rPr then (Just Superscript) else Nothing
|
||||
, if isSubScript rPr then (Just Subscript) else Nothing
|
||||
, rUnderline rPr >>= (\f -> Just $ Span ("", [], [("underline", f)]))
|
||||
, rUnderline rPr >>=
|
||||
(\f -> if f == "single" then (Just Emph) else Nothing)
|
||||
]
|
||||
in
|
||||
classContainers ++ formatters
|
||||
|
|
Loading…
Add table
Reference in a new issue