Sorry, I've given you a solution that does NOT have a linebreak on the clipboard.
I'm not going to try to diagnose issues with gmail or google docs in using that data.
If you use a KM Macro to do the paste, then just add a Type Keystroke of backspace after the paste.
Only 5 yrs late to the party. Does anyone maintain a repository for KM Macros and so we can browse and find the latest versions of them? I see this Macro here and think it likely some improvements. There are hundreds of other macros here that feel like orphans.
If there were I imagine @Peter_Morgan would have mentioned it.
The Keyboard Maestro Forum is a user-forum not a library. Many macros are offered for posterity and are not maintained. Many macros are offered to help accomplish someone's task du jour.
Only a few macros on the forum are regularly maintained and/or augmented by their authors.