diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 69877636e824d367e6223b0b121abdb0d65e1bce..224922d4944001156e915fe5baeb94af34170fc0 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 8bf87352be4b744548eb62f92e9d7d4a5aba7505..4cf678b8d35e74d3e3faeb6bb0e2cfd9ff0a6a55 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);