Quote button doesn't work correctly with tables

Created by: JoopClaireIT

When having a table in a message

test | test
-----|------
test | test

and clicking the quote button on the side, the result is this

> test test
test test

and not this, as should be

test test
test test