mirror of
https://github.com/Docile-Alligator/Infinity-For-Reddit.git
synced 2026-03-01 05:01:48 +00:00
Replace <sup> with ^ and delete </sup> when copying markdown.
This commit is contained in:
@ -53,7 +53,7 @@ public class CopyTextBottomSheetFragment extends RoundedBottomSheetDialogFragmen
|
||||
ButterKnife.bind(this, rootView);
|
||||
|
||||
String rawText = getArguments().getString(EXTRA_RAW_TEXT);
|
||||
String markdownText = getArguments().getString(EXTRA_MARKDOWN);
|
||||
String markdownText = getArguments().getString(EXTRA_MARKDOWN).replaceAll("<sup>", "^").replaceAll("</sup>", "");
|
||||
|
||||
copyRawTextTextView.setOnClickListener(view -> {
|
||||
showCopyDialog(rawText);
|
||||
|
||||
Reference in New Issue
Block a user