diff --git a/inc/parser/xhtml.php b/inc/parser/xhtml.php
index b2d5ad46b84c83d05ba08ecdaecdc414bf048c0b..8f40bb5db138377d7d03fa9abda8ff4b63529921 100644
--- a/inc/parser/xhtml.php
+++ b/inc/parser/xhtml.php
@@ -961,7 +961,7 @@ class Doku_Renderer_xhtml extends Doku_Renderer {
     }
 
     function _xmlEntities($string) {
-        return htmlspecialchars($string);
+        return htmlspecialchars($string,ENT_QUOTES,'UTF-8');
     }
 
     /**