• Jorty's avatar
    Fix auto-shortcode emoji · 748fff65
    Jorty authored
    Emoji were broken due to `Pleroma.Formatter` not knowing about the
    auto-shortcode emoji. This moves that logic from
    `Pleroma.Web.TwitterAPI.UtilController` to `Pleroma.Formatter`.
    
    Additionally, it's now possible to specify multiple shortcode globs, and
    the default globs were changed to `["/emoji/custom/**/*.png"]`, since
    that's in the .gitignore and the files there would have to be shortcode
    emoji anyway.
    748fff65
Name
Last commit
Last update
config Loading commit data...
installation Loading commit data...
lib Loading commit data...
priv Loading commit data...
test Loading commit data...
.credo.exs Loading commit data...
.formatter.exs Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
CONFIGURATION.md Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
TODO.txt Loading commit data...
mix.exs Loading commit data...
mix.lock Loading commit data...