diff --git a/nodewords.module b/nodewords.module
index 1623ba8..e06eeab 100644
--- a/nodewords.module
+++ b/nodewords.module
@@ -1512,7 +1512,7 @@ function _nodewords_output_tags($tags, $output_type = 'head') {
 
       // Now add the content element(s) to the replacement array.
       foreach ($content as $content_item) {
-        $replace['%content'] = trim(check_plain(decode_entities(strip_tags($content_item))));
+        $replace['%content'] = str_replace('&#039;', "'", trim(check_plain(decode_entities(strip_tags($content_item)))));
         $output[] = strtr($template, $replace);
         $weights[] = $weight;
       }
