diff --git a/changelog.d/expose-markup-configuration.add b/changelog.d/expose-markup-configuration.add new file mode 100644 index 000000000..8c7f35697 --- /dev/null +++ b/changelog.d/expose-markup-configuration.add @@ -0,0 +1 @@ +Expose markup configuration in InstanceView diff --git a/lib/pleroma/web/mastodon_api/views/instance_view.ex b/lib/pleroma/web/mastodon_api/views/instance_view.ex index af6a63e92..848bf1a22 100644 --- a/lib/pleroma/web/mastodon_api/views/instance_view.ex +++ b/lib/pleroma/web/mastodon_api/views/instance_view.ex @@ -323,7 +323,7 @@ defmodule Pleroma.Web.MastodonAPI.InstanceView do } end - defp markup() do + defp markup do %{ allow_inline_images: Config.get([:markup, :allow_inline_images]), allow_headings: Config.get([:markup, :allow_headings]),