It’s not a bug, it’s a feature:
https://github.com/discourse/discourse/blob/master/lib/text_cleaner.rb#L33-L34