# Las imágenes con el carácter \] en el nombre de archivo no se muestran correctamente

**URL:** <https://meta.discourse.org/t/images-with-character-in-filename-dont-display-properly/78240>\
**Category:** Bug\
**Created:** [17 Enero, 2018 02:22 UTC](https://meta.discourse.org/t/images-with-character-in-filename-dont-display-properly/78240 "2018-01-17T02:22:25Z")\
**Posts on this page:** 1\
**Showing post:** 22

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [19 Enero, 2018 08:15 UTC](https://meta.discourse.org/t/images-with-character-in-filename-dont-display-properly/78240/22 "2018-01-19T08:15:01Z")

</div>

It is odd because that text should come from the filename. Let me see what happens with a filename I intentionally add a `]` character to:

`![pic]|550x404](upload://xyEF7z3PW8gPseTwSnNbsakqy1G.jpg)`

yes that definitely causes it, the filename was

`pic].jpg` cc @vinothkannans – so I would strip `[` and `]` from filenames when building the alt text please.

---

_[View the full topic](https://meta.discourse.org/t/images-with-character-in-filename-dont-display-properly/78240)._
