diff options
author | Sergei Kozelko <KozelkoS@yandex.ru> | 2022-09-25 07:52:00 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-25 07:52:00 +0000 |
commit | 85debf62f3807f1b137883169eafe79070355a31 (patch) | |
tree | 49ba477b918fbd9ed1977fc7591bef236a200316 /app/src/main/res/values-night | |
parent | a87704b00d8c8bc73292d0993763ecd4dec32356 (diff) | |
download | infinity-for-reddit-85debf62f3807f1b137883169eafe79070355a31.tar infinity-for-reddit-85debf62f3807f1b137883169eafe79070355a31.tar.gz infinity-for-reddit-85debf62f3807f1b137883169eafe79070355a31.tar.bz2 infinity-for-reddit-85debf62f3807f1b137883169eafe79070355a31.tar.lz infinity-for-reddit-85debf62f3807f1b137883169eafe79070355a31.tar.xz infinity-for-reddit-85debf62f3807f1b137883169eafe79070355a31.tar.zst infinity-for-reddit-85debf62f3807f1b137883169eafe79070355a31.zip |
Rewrite spoiler parsing (#1104)
* Rewrite spoiler parsing to properly support nested spoilers and code blocks
Parse all the spoilers, ignoring spoiler brackets that intersect with code
spans. Detect all the spoilers that are nested and mark them accordingly.
Delete all spoiler brackets that were matched. Add SpoilerSpans for non-nested
ranges.
* Simplify offset calculation
Diffstat (limited to 'app/src/main/res/values-night')
0 files changed, 0 insertions, 0 deletions