mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 03:34:17 +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 |
||
---|---|---|
.. | ||
addon | ||
app | ||
config | ||
engines/discourse-markdown | ||
vendor | ||
.npmrc | ||
ember-cli-build.js | ||
index.js | ||
package.json |