Page MenuHomePhabricator

Escaping problem on "Notification-dynamic-actions-flow-board-unwatch" label
Closed, DuplicatePublicBUG REPORT

Description

HTML entities for non-breaking spaces should not be visible in the label, see screenshot:

image.png (316×940 px, 32 KB)

This bug is similar to T142882.

Link to the translated message on Translatewiki
Discussion on Translatewiki

Relevant code in FlowPresentationModel.php:

// notification-dynamic-actions-flow-board-unwatch
// notification-dynamic-actions-flow-topic-unwatch
$link['label'] = $this
	->msg( 'notification-dynamic-actions-flow-' . $type . '-unwatch' )
	->params(
		$stringPageTitle,
		$title->getFullURL( $query ),
		$this->getUser()->getName()
	)
	->parse();

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
kostajh moved this task from Inbox to Needs Discussion on the Growth-Team board.
kostajh subscribed.

Moving to needs discussion, as we need to see how it could fit into existing work/priorities. Patches welcome :)