RpNation / bbcode

RpNation's Official BBCode Implementation for Discourse
GNU General Public License v3.0
1 stars 3 forks source link

Whitespace changes persisting when quoted #7

Open Rhababo opened 9 months ago

Rhababo commented 9 months ago

This is an issue for later down the line, but I noticed that if you highlight and quote text using the "quote" popup in discourse, it trims newlines and extra whitespace when propagating that text into the composer.

Screenshot 2023-09-23 at 11 03 12 AM

I'm not sure how discourse propagates the quote into the composer, so there may be something that we would need to intercept/override.

Rhababo commented 9 months ago

Further looking into this, and basically all formatting is lost when quoting in this way, although the "quote entire post" button retains the formatting. This may be a question for discourse meta.

Mondrethos commented 9 months ago

Further looking into this, and basically all formatting is lost when quoting in this way, although the "quote entire post" button retains the formatting. This may be a question for discourse meta.

If you pose the question on Meta, make sure to link the topic here for us.

Alteras1 commented 9 months ago

I suspect this might have to do with a html to markdown function somewhere...

Mondrethos commented 5 months ago

@Rhababo Just checking in to see if you are still around :)!