mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2024-12-29 20:37:12 +01:00
Replace <sup> with ^ and delete </sup> when copying markdown.
This commit is contained in:
parent
2b0b7d93a8
commit
f22b649bee
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user