From 9d1435c1b5f6e769ac7abd55f6d221f863eda299 Mon Sep 17 00:00:00 2001 From: Thomas Date: Tue, 16 Jan 2024 10:25:46 +0100 Subject: [PATCH] Markdown support disabled by default --- .../app/fedilab/android/mastodon/helper/SpannableHelper.java | 2 +- app/src/main/res/xml/pref_timelines.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/app/fedilab/android/mastodon/helper/SpannableHelper.java b/app/src/main/java/app/fedilab/android/mastodon/helper/SpannableHelper.java index 077136f7..87cb773f 100644 --- a/app/src/main/java/app/fedilab/android/mastodon/helper/SpannableHelper.java +++ b/app/src/main/java/app/fedilab/android/mastodon/helper/SpannableHelper.java @@ -155,7 +155,7 @@ public class SpannableHelper { } else { initialContent = new SpannableString(text); } - boolean markdownSupport = sharedpreferences.getBoolean(context.getString(R.string.SET_MARKDOWN_SUPPORT), true); + boolean markdownSupport = sharedpreferences.getBoolean(context.getString(R.string.SET_MARKDOWN_SUPPORT), false); //Get all links SpannableStringBuilder content; if (markdownSupport && convertMarkdown) { diff --git a/app/src/main/res/xml/pref_timelines.xml b/app/src/main/res/xml/pref_timelines.xml index ecf37ffd..90ad7ca0 100644 --- a/app/src/main/res/xml/pref_timelines.xml +++ b/app/src/main/res/xml/pref_timelines.xml @@ -59,7 +59,7 @@ app:title="@string/timeline_scrollbar" />