Fix wrong handling of links with '|' character (#1489276)

Conflicts:

	CHANGELOG
	tests/Framework/StringReplacer.php