mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 05:07:53 +08:00
720e1ca9e7
Previously, our `upload://` protocol urls were only supported in markdown image tags. This meant that our PullHotlinkedImages job was forced to convert `<img` tags to markdown. Depending on the exact syntax, this can actually cause the image to break. This commit adds support for `upload://` inside regular HTML `<img` tags. In a future commit, we'll be able to use this to make our PullHotlinkedImages job much more robust. Context at https://meta.discourse.org/t/152801 |
||
---|---|---|
.. | ||
images | ||
javascripts | ||
stylesheets |