# Can emoji be rendered with absolute URLs?

**URL:** <https://meta.discourse.org/t/can-emoji-be-rendered-with-absolute-urls/47250>\
**Category:** Bug\
**Created:** [13 Julio, 2016 21:11 UTC](https://meta.discourse.org/t/can-emoji-be-rendered-with-absolute-urls/47250 "2016-07-13T21:11:02Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)\
**Post date:** [14 Julio, 2016 03:45 UTC](https://meta.discourse.org/t/can-emoji-be-rendered-with-absolute-urls/47250/2 "2016-07-14T03:45:40Z")

</div>

This is a problem for the wp-discourse plugin as well. The wp-discourse plugin attempts to fix relative urls with a regular expression, but that has a few problems.

I think the relevant code is here. I’d send a PR, but I don’t know how to properly get a forum’s absolute url from the front end.

[https://github.com/discourse/discourse/blob/master/app/assets/javascripts/pretty-text/emoji.js.es6#L60](https://github.com/discourse/discourse/blob/master/app/assets/javascripts/pretty-text/emoji.js.es6#L60)

---

_[View the full topic](https://meta.discourse.org/t/can-emoji-be-rendered-with-absolute-urls/47250)._
