X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Flibs%2Fhtml_mail_functions.php;h=eb205ec7345e7edd84dadf394b85ac0e42a1614f;hp=08a5c16f90704c138ec34e42a59f6347cba03c9f;hb=ec9f020e34a9f2029a2ea0969564dda015beca8a;hpb=c8d76610eb94093d4eed4fcd8a6cb72e74c8f6d8 diff --git a/inc/libs/html_mail_functions.php b/inc/libs/html_mail_functions.php index 08a5c16f90..eb205ec734 100644 --- a/inc/libs/html_mail_functions.php +++ b/inc/libs/html_mail_functions.php @@ -16,7 +16,7 @@ * $Author:: $ * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009, 2010 by Mailer Developer Team * + * Copyright (c) 2009 - 2011 by Mailer Developer Team * * For more information visit: http://www.mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -58,11 +58,12 @@ function checkHtmlTags ($html) { $check = strtolower(substr($test, strpos($test, '<') + 1, strpos($test, '>') - strpos($test, '<') - 1)); $check = str_replace('/', '', $check); if (!in_array($check, $GLOBALS['html_tags'])) { - // Invalid tag found! + // Invalid tag found return ''; - } + } // END - if $test = substr($test, strpos($test, '>') + 1); - } + } // END - while + // Return tested code return $html; }