mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2024-11-07 03:07:26 +01:00
Try to fix superscript rendering.
This commit is contained in:
parent
fea59bc66d
commit
73ddafdfcc
@ -99,9 +99,13 @@ public class Utils {
|
||||
}
|
||||
} else if (currentChar == ' ' || currentChar == '\n') {
|
||||
if (newestCaretIndex >= 0) {
|
||||
if (i != newestCaretIndex + 1) {
|
||||
regexed.insert(i, '^');
|
||||
newestCaretIndex = -1;
|
||||
i++;
|
||||
} else {
|
||||
newestCaretIndex = -1;
|
||||
}
|
||||
}
|
||||
} else if (currentChar == '(') {
|
||||
if (newestCaretIndex >= 0 && i == newestCaretIndex + 1) {
|
||||
|
Loading…
Reference in New Issue
Block a user