mirror of
https://github.com/discourse/discourse.git
synced 2025-03-06 13:55:27 +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.