@@ -1111,6 +1111,9 @@ inlineToOpenXML' _ (Str str) =
11111111 formattedString str
11121112inlineToOpenXML' opts Space = inlineToOpenXML opts (Str " ")
11131113inlineToOpenXML' opts SoftBreak = inlineToOpenXML opts (Str " ")
1114+inlineToOpenXML' opts (Span (_,["underline"],_) ils) = do
1115+ withTextProp (mknode "w:u" [("w:val","single")] ()) $
1116+ inlinesToOpenXML opts ils
11141117inlineToOpenXML' _ (Span (ident,["comment-start"],kvs) ils) = do
11151118 -- prefer the "id" in kvs, since that is the one produced by the docx
11161119 -- reader.