@@ -109,7 +109,10 @@ strToHtml :: String -> Html
109109strToHtml ('\'':xs) = preEscapedString "\'" `mappend` strToHtml xs
110110strToHtml ('"' :xs) = preEscapedString "\"" `mappend` strToHtml xs
111111strToHtml (x:xs) | needsVariationSelector x
112− = preEscapedString [x, '\xFE0E'] `mappend` strToHtml xs
112+ = preEscapedString [x, '\xFE0E'] `mappend`
113+ case xs of
114+ ('\xFE0E':ys) -> strToHtml ys
115+ _ -> strToHtml xs
113116strToHtml xs@(_:_) = case break (\c -> c == '\'' || c == '"' ||
114117 needsVariationSelector c) xs of
115118 (_ ,[]) -> toHtml xs