discourse/app/assets/javascripts/pretty-text/engines/discourse-markdown
David Taylor 720e1ca9e7
FEATURE: Support upload:// urls in img tags (#16277)
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
2022-03-28 16:46:47 +01:00
..
anchor.js FIX: Generate valid heading ids (#14840) 2021-11-08 20:44:46 +02:00
bbcode-block.js DEV: Use method definition syntax consistently (#14915) 2021-11-13 14:01:55 +01:00
bbcode-inline.js DEV: Use method definition syntax consistently (#14915) 2021-11-13 14:01:55 +01:00
category-hashtag.js REFACTOR: Move the `discourse-markdown` engine out of the addon repo 2020-09-18 11:42:22 -04:00
censored.js DEV: Simplify watched word code (#13103) 2021-05-27 19:20:26 +03:00
code.js DEV: adds initial support for custom blocks using code fencing (#15743) 2022-02-09 11:23:44 +01:00
custom-typographer-replacements.js FEATURE: Add a typographer rule to replace (pa) with ¶. (#12478) 2021-03-22 15:04:08 -03:00
d-wrap.js FIX: pretty text allow list (#10977) 2020-10-28 13:22:06 +11:00
emoji.js DEV: add native lazy loading for emojis (#15830) 2022-02-09 12:18:59 +01:00
helpers.js DEV: prettier 2.2.1 (#11862) 2021-01-27 12:39:20 +01:00
html-img.js DEV: Correct typos and spelling mistakes (#12812) 2021-05-21 11:43:47 +10:00
image-controls.js FIX: Add a confirm and cancel button when editing alt text (#15003) 2021-11-19 10:57:09 +08:00
mentions.js DEV: Export pretty text function for plugin use (#13826) 2021-07-22 14:06:46 -05:00
newline.js FIX: possible ReDOS in markdown newline rule (#15646) 2022-01-20 22:32:01 +01:00
onebox.js DEV: Correct typos and spelling mistakes (#12812) 2021-05-21 11:43:47 +10:00
paragraph.js DEV: prettier 2.2.1 (#11862) 2021-01-27 12:39:20 +01:00
quotes.js DEV: Add force_quote_link option to PrettyText (#16034) 2022-02-23 16:13:46 +10:00
table.js DEV: Use method definition syntax consistently (#14915) 2021-11-13 14:01:55 +01:00
text-post-process.js DEV: enforces eslint’s curly rule to the codebase (#10720) 2020-09-22 16:28:28 +02:00
upload-protocol.js FEATURE: Support upload:// urls in img tags (#16277) 2022-03-28 16:46:47 +01:00
watched-words.js FIX: Use Map instead of Object for caching (#14887) 2021-11-12 15:18:07 +02:00