logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://anongit.hacktivis.me/git/pleroma.git/
commit: d1b9d03302b4f8ea83174d0934f71360709d7585
parent 890ac8ff86e28af464f56fc023d9d7e2f4bc2f1a
Author: Nicole Mikołajczyk <git@mkljczk.pl>
Date:   Fri, 28 Mar 2025 17:00:36 +0100

update changelog

Signed-off-by: Nicole Mikołajczyk <git@mkljczk.pl>

Diffstat:

Achangelog.d/expose-markup-configuration.add1+
Mlib/pleroma/web/mastodon_api/views/instance_view.ex2+-
2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/changelog.d/expose-markup-configuration.add 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 @@ -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]),