From b38de48734449772b67ae530906a549275b0bb22 Mon Sep 17 00:00:00 2001 From: wonder95 Date: Wed, 3 Sep 2014 14:05:11 -0700 Subject: [PATCH] Add filtering for left and right single and double quotes in pathauto_punctuation_chars(). --- pathauto.inc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pathauto.inc b/pathauto.inc index 63b9244..5684f3f 100644 --- a/pathauto.inc +++ b/pathauto.inc @@ -676,6 +676,10 @@ function pathauto_punctuation_chars() { $punctuation['greater_than'] = array('value' => '>', 'name' => t('Greater-than sign')); $punctuation['slash'] = array('value' => '/', 'name' => t('Slash')); $punctuation['back_slash'] = array('value' => '\\', 'name' => t('Backslash')); + $punctuation['left_single_quote'] = array('value' => '‘', 'name' => t('Left single quote')); + $punctuation['right_single_quote'] = array('value' => '’', 'name' => t('Right single quote')); + $punctuation['left_double_quote'] = array('value' => '“', 'name' => t('Left double quote')); + $punctuation['right_double_quote'] = array('value' => '”', 'name' => t('Right double quote')); // Allow modules to alter the punctuation list and cache the result. drupal_alter('pathauto_punctuation_chars', $punctuation); -- 1.8.5.2 (Apple Git-48)