phpBB

Code Changes

File: phpbb/textformatter/s9e/link_helper.php

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


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


		// Create a tag that consumes the link's text
$parser->addSelfClosingTag('LINK_TEXT', $start, $length)->setAttribute('text', $text);



		// 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->setAttribute('text', $text);
$tag->cascadeInvalidationTo($link_text_tag);

	}

/**

	}

/**