diff --git a/includes/common.inc b/includes/common.inc
index 155f5b2e86217b7d08c3e248bda804a0b950b7c2..7b6fe29da06b187fc2272f4300da2e9bf344caa4 100644
--- a/includes/common.inc
+++ b/includes/common.inc
@@ -649,7 +649,7 @@ function t($string, $args = 0) {
  * Encode special characters in a plain-text string for display as HTML.
  */
 function check_plain($text) {
-  return htmlspecialchars($text);
+  return htmlspecialchars($text, ENT_QUOTES);
 }
 
 /**