mirror of
https://github.com/discourse/discourse.git
synced 2025-06-10 03:13:45 +08:00

- For `with_images`, ignore `<img>` tags representing emoji or a quote avatar - For `with_links` and `with_uploads`, exclude tags starting with the letter "a" other than `<a>` (like `<aside>`) - For `with_code`, the `<pre>` tag wasn't being detected because it was expecting an extra char before the ">"