@@ -87,6 +87,13 @@ tests =
8787 let todoSpan = spanWith ("", ["done", "DONE"], []) "DONE"
8888 in headerWith ("header", [], []) 1 (todoSpan <> space <> "header")
8989
90+ , "emphasis in first word" =:
91+ "** TODO /fix/ this" =?>
92+ let todoSpan = spanWith ("", ["todo", "TODO"], []) "TODO"
93+ in headerWith ("fix-this", [], [])
94+ 2
95+ (todoSpan <> space <> emph "fix" <> space <> "this")
96+
9097 , "Header with unknown todo keyword" =:
9198 "* WAITING header" =?>
9299 headerWith ("waiting-header", [], []) 1 "WAITING header"