mirror of
https://github.com/discourse/discourse.git
synced 2025-03-09 21:25:42 +08:00

A previous commit had broken this codepath, this commit ensures it's fixed and is adding a test. It's not testing the copy/paste behavior as fairly complex to test.