phpBB

Code Changes

File: phpbb/textformatter/s9e/link_helper.php

  Unmodified   Added   Modified   Removed
Line 61Line 61
		$text   = substr($parser->getText(), $start, $length);

// Create a tag that consumes the link's text and make it depends on this tag

		$text   = substr($parser->getText(), $start, $length);

// Create a tag that consumes the link's text and make it depends on this tag

		$link_text_tag = $parser->addSelfClosingTag('LINK_TEXT', $start, $length);

		$link_text_tag = $parser->addSelfClosingTag('LINK_TEXT', $start, $length, 10);

		$link_text_tag->setAttribute('text', $text);
$tag->cascadeInvalidationTo($link_text_tag);
}

		$link_text_tag->setAttribute('text', $text);
$tag->cascadeInvalidationTo($link_text_tag);
}