summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamien McKenna2012-12-05 14:37:54 (GMT)
committer Damien McKenna2012-12-05 14:37:54 (GMT)
commited432a6f8c86fc75e595d0f48ba5cbdd34a9ba18 (patch)
tree2ab5bfe13207054d827823b23dc44b9895c2fd98
parenta816218243c58327f0fc6286228b204db909b5c0 (diff)
Issue #971428 by DamienMcKenna: Filter the node summary using check_markup() prior to other processing.
-rw-r--r--CHANGELOG.txt2
-rw-r--r--nodewords.module3
2 files changed, 5 insertions, 0 deletions
diff --git a/CHANGELOG.txt b/CHANGELOG.txt
index 6987763..224922d 100644
--- a/CHANGELOG.txt
+++ b/CHANGELOG.txt
@@ -9,6 +9,8 @@ Nodewords 6.x-1.x-dev, xxxx-xx-xx
hardcoded path rather than use of base_path().
#1751318 by DamienMcKenna: Updated the Dublin Core meta tags to use the
"dcterms" prefix, to match Metatag.
+#971428 by DamienMcKenna: Filter the node summary using check_markup() prior to
+ other processing.
Nodewords 6.x-1.14-beta2, 2012-08-21
diff --git a/nodewords.module b/nodewords.module
index 8bf8735..4cf678b 100644
--- a/nodewords.module
+++ b/nodewords.module
@@ -1054,6 +1054,9 @@ function nodewords_metatag_from_node_content($node, $content, $options = array()
// Continue as normal.
else {
+ // Run all of the normal text filters on the summary text.
+ $result = check_markup($result, $node->format, FALSE);
+
// Ensure there's a setting for controlling the maximum summary length.
if (!isset($options['size'])) {
$options['size'] = variable_get('nodewords_max_size', 350);