File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ fun createItemString(
107107 appendLine()
108108}
109109
110- // See https://github.com/jhy/jsoup/issues/1055 and 1441
110+ // See https://github.com/jhy/jsoup/issues/1055
111111fun Document.extractName (id : String ) = this
112112 .select(" [id=$id ]" )
113113 .prev(" h2" )
@@ -117,13 +117,11 @@ fun Document.extractName(id: String) = this
117117 .ifBlank { select(" h1" ).text() }
118118 .trim()
119119
120- // See https://github.com/jhy/jsoup/issues/1055 and 1441
121120fun Document.extractVersion (id : String ) = this
122121 .select(" [id=$id ]" )
123122 .attr(" data-text" )
124123 .replace(Regex (" .*Version " ), " v" )
125124
126- // See https://github.com/jhy/jsoup/issues/1055 and 1441
127125fun Document.extractChangelog (id : String ) = this
128126 .select(" [id=$id ] ~ *" )
129127 .takeWhile { it.`is `(" :not(h2)" ) }
You can’t perform that action at this time.
0 commit comments