phpBB

Code Changes

File: includes/functions_content.php

  Unmodified   Added   Modified   Removed
Line 532Line 532

if (preg_match('#^<[rt][ >]#', $text))
{


if (preg_match('#^<[rt][ >]#', $text))
{

		$text = $phpbb_container->get('text_formatter.utils')->clean_formatting($text);

		$text = utf8_htmlspecialchars($phpbb_container->get('text_formatter.utils')->clean_formatting($text));

	}
else
{

	}
else
{

Line 1011Line 1011
		if (preg_match($magic_args[0], $text, $matches))
{
// Only apply $class from the corresponding function call argument (excepting emails which never has a class)

		if (preg_match($magic_args[0], $text, $matches))
{
// Only apply $class from the corresponding function call argument (excepting emails which never has a class)

			if ($magic_args[3] != $static_class && $magic_args[1] != MAGIC_URL_EMAIL)

			if ($magic_args[1] != MAGIC_URL_EMAIL && $magic_args[3] != $static_class)

			{
continue;
}

			{
continue;
}