mirror of
https://github.com/discourse/discourse.git
synced 2025-03-12 14:52:53 +08:00

The new hashtags render with an `<svg>` element inside a `<a>` tag, which is an icon to indicate the "type" of the hashtag. In Firefox, this was disrupting both triple-click text selection and simple dragging cursor text selection. The selection would stop at the SVG rather than continuing past it. This works fine in Chrome -- either Chrome is not doing the right thing or Firefox is. Either way the issue is fixed by simply making the `svg` an inline element inside the link, which it should be anyway.