Unverified Commit 5a6fe6d7 authored by MikeyMJCO's avatar MikeyMJCO Committed by GitHub
Browse files

Merge pull request #15 from pbatroff/issue/13

[#13] implement html filter
parents 11e949ae 994277c4
......@@ -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);
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