Not sure if this would be considered a bug or a request for enhancement. Basically, when you quote ruby text, the quote doesn’t show up correctly. For example:
日本語
If you quote this you’ll get something like:
日に本ほん語
Could this be updated in some way so the quote includes the ruby tags for proper formatting? Or is that consider an “advanced” quote that will only work on full post quoting?
Awesome. To add one thing, I noticed that often furigana (rt tagged text) above the last character won’t get highlighted and therefore doesn’t get quoted (but it should). It probably won’t be a big deal to handle since that’s all within the last ruby tag anyway, but it’s something to keep in mind when implementing.
It might be good to keep all the ruby-related tags that have been whitelisted, even though rb and rp aren’t used as much anymore. rp is used for legacy support for old browser though, so maybe not particularly relevant for Discourse. No big deal one way or the other, just thought I should mention.
EDIT:
More importantly, when I test this on the word in my OP (and only that word) it misses the surrounding ruby tags, so it doesn’t format the text as expected. When I highlight text on either side it before quoting, includes the ruby tag, but that workaround wouldn’t work if the word was the first or last part of the post. Is there anything that can be done to make sure it includes the ruby tags?