Skip to content

Commit

Permalink
Update MangaDexHelper.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
spicemace committed Jan 30, 2025
1 parent 2a7a1b6 commit 6ee6743
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ class MangaDexHelper(lang: String) {
*/
private fun String.removeEntitiesAndMarkdown(): String {
return removeEntities()
.substringBefore("---")
.substringBefore("\n---")
.replace(markdownLinksRegex, "$1")
.replace(markdownItalicBoldRegex, "$1")
.replace(markdownItalicRegex, "$1")
Expand Down

0 comments on commit 6ee6743

Please sign in to comment.