skrape.it icon indicating copy to clipboard operation
skrape.it copied to clipboard

[BUG] KDoc should use Kotlin formatting, not Javadoc

Open aSemy opened this issue 1 year ago • 0 comments

Describe the bug

In some KDoc {@code ...} is used

https://github.com/skrapeit/skrape.it/blob/e429fdc1e15763d5dafc887ee4d5c3bd1e1cadd9/html-parser/src/main/kotlin/it/skrape/selects/DocElement.kt#L23

KDoc uses a flavour of Markdown, so replace this with backticks

     /** 
     * For example, given HTML `<p>Hello <b>there</b> now!</p>`, `p.ownText()` returns `"Hello now!",
     */ 

aSemy avatar Jul 24 '22 12:07 aSemy