This commit is contained in:
scria1000 2021-11-25 19:07:15 +03:00
parent b0134984ca
commit d1096f1f76

View File

@ -69,7 +69,7 @@ public class SpoilerParserPlugin extends AbstractMarkwonPlugin {
markdownStringBuilder.setSpan(spoilerSpan, spoilerStart, spoilerEnd, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); markdownStringBuilder.setSpan(spoilerSpan, spoilerStart, spoilerEnd, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
offset += 4; offset += 4;
} }
s
for (CodeSpan codeSpan : codeSpans) { for (CodeSpan codeSpan : codeSpans) {
int spanBeginning = markdownStringBuilder.getSpanStart(codeSpan); int spanBeginning = markdownStringBuilder.getSpanStart(codeSpan);
int spanEnd = markdownStringBuilder.getSpanEnd(codeSpan); int spanEnd = markdownStringBuilder.getSpanEnd(codeSpan);