mirror of
https://github.com/discourse/discourse.git
synced 2025-02-28 05:59:57 +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.