pull/2578/head
kunfei 2 years ago
parent 72b3689a94
commit fae0ded2e0
  1. 6
      app/src/main/java/io/legado/app/help/source/RssSourceExtensions.kt

@ -37,7 +37,11 @@ suspend fun RssSource.sortUrls(): List<Pair<String, String>> {
val name = sort.substringBefore("::")
val url = sort.substringAfter("::", "")
if (url.isNotEmpty()) {
add(Pair(name, NetworkUtils.getAbsoluteURL(sourceUrl, url)))
if (url.startsWith("{{")) {
add(Pair(name, url))
} else {
add(Pair(name, NetworkUtils.getAbsoluteURL(sourceUrl, url)))
}
}
}
if (isEmpty()) {

Loading…
Cancel
Save