# Code block image link gets modified when hotlinked image is downloaded

**URL:** https://meta.discourse.org/t/code-block-image-link-gets-modified-when-hotlinked-image-is-downloaded/271571
**Category:** Bug
**Created:** [July 13, 2023, 7:09pm UTC](https://meta.discourse.org/t/code-block-image-link-gets-modified-when-hotlinked-image-is-downloaded/271571 "2023-07-13T19:09:56Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [August 24, 2023, 1:09pm UTC](https://meta.discourse.org/t/code-block-image-link-gets-modified-when-hotlinked-image-is-downloaded/271571/3 "2023-08-24T13:09:45Z")

</div>

For the record, I faced the issue when trying to illustrate this:

> [@Remote webp images not rendering](https://meta.discourse.org/t/remote-webp-images-not-rendering/276433):
>
> Hi wave It’s pretty straightforward. Paste this in a post: հttps://media.discordapp.net/stickers/1023980063823233097.webp հttps://media.discordapp.net/stickers/1023980063823233097.png The webp image doesn’t show up: Result in post: [https://media.discordapp.net/stickers/1023980063823233097.webp](https://media.discordapp.net/stickers/1023980063823233097.webp) [image] Also, hotlinked webp aren’t downloaded to the server when download remote images to local is true.

To circumvent the problem, I used `հ` (armenian small letter ho) instead of `h` (latin small letter h) in the `https` part. Since they are recognized as different characters, it doesn’t trigger the URL replacement.

Thanks to [Unicode Utilities: Confusables](https://util.unicode.org/UnicodeJsps/confusables.jsp)

---

_[View the full topic](https://meta.discourse.org/t/code-block-image-link-gets-modified-when-hotlinked-image-is-downloaded/271571)._
