commit f840e98d3ba03336eb61bfab7413ebd489ddef11 parent b20abdf8750f39eecdcaceb56f03aaa0214c20ca Author: FIGBERT <figbert@figbert.com> Date: Thu, 27 Aug 2020 12:36:54 -0700 :art: Change emoji shortcode variable from name to id Diffstat:
M | templates/shortcodes/emoji.html | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/templates/shortcodes/emoji.html b/templates/shortcodes/emoji.html @@ -1,2 +1,2 @@ -<span class="emoji" role="img" aria-label="{{ alt }}">{{ load_data(path="static/emoji/" ~ name ~ ".svg", format="plain") | safe }}</span> +<span class="emoji" role="img" aria-label="{{ alt }}">{{ load_data(path="static/emoji/" ~ id ~ ".svg", format="plain") | safe }}</span>