Docx writer: Fix custom styles with spaces in the name.
Custom styles with spaces worked for divs but not for spans. This commit fixes the problem. Closes #3290.
This commit is contained in:
parent
509e88374b
commit
b9d73428c7
1 changed files with 1 additions and 1 deletions
|
@ -1134,7 +1134,7 @@ inlineToOpenXML' opts (Span (ident,classes,kvs) ils) = do
|
|||
modify $ \s ->
|
||||
s{stDynamicTextProps = Set.insert sty
|
||||
(stDynamicTextProps s)}
|
||||
return $ withTextProp (rCustomStyle sty)
|
||||
return $ withTextPropM (rStyleM sty)
|
||||
_ -> return id
|
||||
let dirmod = case lookup "dir" kvs of
|
||||
Just "rtl" -> local (\env -> env { envRTL = True })
|
||||
|
|
Loading…
Add table
Reference in a new issue