mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Normally we look at where the cursor is, but when the composer is closed we don't have a cursor and just append at the end. This fix adds a new line to make sure quotes will always work when inserted when the composer is closed.