Page MenuHomePhabricator

Fix ambiguous URI parsing in Youtube Remarkup rule
ClosedPublic

Authored by epriestley on Jun 23 2017, 2:37 PM.
Tags
None
Referenced Files
Unknown Object (File)
Apr 7 2026, 5:20 PM
Unknown Object (File)
Apr 6 2026, 11:35 AM
Unknown Object (File)
Mar 30 2026, 4:55 AM
Unknown Object (File)
Mar 1 2026, 10:25 PM
Unknown Object (File)
Mar 1 2026, 7:05 PM
Unknown Object (File)
Jan 21 2026, 12:33 AM
Unknown Object (File)
Jan 21 2026, 12:33 AM
Unknown Object (File)
Nov 30 2025, 9:50 PM
Subscribers
None

Details

Summary

Fixes T12867. Also:

  • Simplify the code a little.
  • Stop mutating this on text/mobile -- there's no inherent value in the "youtu.be" link so I think this just changes the text the user wrote unnecessarily.
Test Plan

Screen Shot 2017-06-23 at 7.32.50 AM.png (552×1 px, 395 KB)

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable