X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=js%2FCommon.js;h=43cc526b7213c192b4d2e000f7634bbe9720f7b6;hb=e58304414d806b7dcc102880a47becd0a896dc17;hp=15f3528b2d6ebe0a41911306dfe0b52890c946f7;hpb=45d567ba32ae9dfae70d31d5ee329b5492b10f58;p=civicrm-core.git diff --git a/js/Common.js b/js/Common.js index 15f3528b2d..43cc526b72 100644 --- a/js/Common.js +++ b/js/Common.js @@ -1260,7 +1260,8 @@ if (!CRM.vars) CRM.vars = {}; if (title.length) { text = title + "\n" + text; } - alert(text); + // strip html tags as they are not parsed in standard alerts + alert($("
").html(text).text()); return null; } };