Commit d32d1933 authored by Kevin Paxman's avatar Kevin Paxman
Browse files

Allow more than one in a line

parent 4aa574f0
......@@ -517,7 +517,7 @@ function cke_cta_process($text, $filter, $format, $langcode, $cache, $cache_id)
}
// ISTWCMS-2481: Use the attribute node it to replace with the pattern.
$pattern = '/\<ckcalltoaction data\-calltoaction\-nid\=\"' . $attr_nid . '\"\>(.*)\<\/ckcalltoaction\>/';
$pattern = '/\<ckcalltoaction data\-calltoaction\-nid\=\"' . $attr_nid . '\"\>\<\/ckcalltoaction\>/';
$text = preg_replace($pattern, $output, $text);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment