Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Extensions
mosaicomsgtpl
Commits
5a6fe6d7
Unverified
Commit
5a6fe6d7
authored
Nov 12, 2019
by
MikeyMJCO
Committed by
GitHub
Nov 12, 2019
Browse files
Merge pull request #15 from pbatroff/issue/13
[
#13
] implement html filter
parents
11e949ae
994277c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
api/v3/Job/MosaicoMsgSync.php
View file @
5a6fe6d7
...
...
@@ -109,5 +109,7 @@ function _civicrm_api3_job_mosaico_msg_filter($html) {
$html
=
str_ireplace
(
array
(
'{literal}<head>'
,
'</head>{/literal}'
),
array
(
'<head>'
,
'</head>'
),
$html
);
}
return
$html
;
$html_filter
=
new
CRM_Mosaico_UrlFilter
();
return
$html_filter
->
filterHtml
(
$html
);
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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