From 31992bdba775fc3022a858ace9743620e70aee17 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sun, 10 Jul 2022 18:51:39 +0200 Subject: Fixed date handling --- filters/emojis.lua | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'filters') diff --git a/filters/emojis.lua b/filters/emojis.lua index 5eb9d4b..427d04b 100644 --- a/filters/emojis.lua +++ b/filters/emojis.lua @@ -1,15 +1,13 @@ -local common = require 'filters.lib.common' - function Str(el) local prefix, emojiref, suffix = el.text:match('^(.*):([^ ]+):(.*)$') if emojiref then local els = pandoc.List() - + els:insert(pandoc.Str(prefix)) els:insert(pandoc.Image(emojiref, "/emojis/" .. emojiref .. ".png", emojiref, { class = 'o-emoji' })) els:insert(pandoc.Str(suffix)) - + return els end -- cgit v1.2.3-70-g09d2