mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 09:42:07 +08:00
b89e634dd4
Meta: https://meta.discourse.org/t/image-name-has-20-in-file-name/134136
We were ending up with [file%20name](url) in the markdown preview, which looked weird and
affected the alt text. this is because we were calling encodeURIComponent, which has been left in place because this is a valid thing to do for some cases. (e.g.
|
||
---|---|---|
.. | ||
acceptance | ||
admin | ||
components | ||
controllers | ||
ember | ||
fixtures | ||
helpers | ||
initializers | ||
lib | ||
mixins | ||
models | ||
widgets | ||
plugin_tests.js.erb | ||
test_helper.js |