Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
WCMS
uw_ct_embedded_call_to_action
Commits
d32d1933
Commit
d32d1933
authored
Jun 05, 2018
by
Kevin Paxman
Browse files
Allow more than one in a line
parent
4aa574f0
Changes
1
Hide whitespace changes
Inline
Side-by-side
uw_ct_embedded_call_to_action.module
View file @
d32d1933
...
...
@@ -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
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment