pull/497/head
gedoor 4 years ago
parent 11943f8c38
commit eae9354e70
  1. 6
      app/src/main/java/io/legado/app/constant/AppConst.kt
  2. 2
      app/src/main/java/io/legado/app/data/entities/rule/ContentRule.kt

@ -36,9 +36,9 @@ object AppConst {
val keyboardToolChars: List<String> by lazy { val keyboardToolChars: List<String> by lazy {
arrayListOf( arrayListOf(
"", "@", "&", "|", "%", "/", ":", "[", "]", "{", "}", "<", ">", "\\", "", "@", "&", "|", "%", "/", "\\", ":", "[", "]", "{", "}", "<", ">",
"$", "#", "!", ".", "href", "src", "textNodes", "xpath", "json", "css", "$", "#", "!", ".", "+", "-", "*", "=", "href", "src", "textNodes", "xpath", "json",
"id", "class", "tag" "css", "id", "class", "tag"
) )
} }

@ -12,5 +12,5 @@ data class ContentRule(
var replaceRegex: String? = null, var replaceRegex: String? = null,
var imageStyle: String? = null, //默认大小居中,FULL最大宽度 var imageStyle: String? = null, //默认大小居中,FULL最大宽度
var font: String? = null, //网页内包含的字体必须返回ByteArray var font: String? = null, //网页内包含的字体必须返回ByteArray
var correctFont: String? = null, //正确的字体必须返回ByteArray var correctFont: String? = null, //正确的字体必须返回QueryTTF
) : Parcelable ) : Parcelable
Loading…
Cancel
Save