levsha
levsha copied to clipboard
Fast Scala eDSL for HTML
Levsha sucks when inserting (or prepending) nodes in container with big number of children.
Your FOSSA integration was successful! Attached in this PR is a badge and license report to track scan status in your README. Below are docs for integrating FOSSA license checks...
0.9.0 release is compiled with JDK 13. It's lead to same errors as described here https://github.com/eclipse/jetty.project/issues/3244
```scala if (conf) disabled else void ``` ```scala state.tab match { case blog: Blog => blogView(blog) case about: About => p(about.text) } ```
Perhaps, better to treat such HTML string as a blackbox (don't try to parse or validate it), and if it changes - re-render in completely instead of inferring minimal diffs...
This piece of code ```scala def nodeFromHtml[T](html: String): LevshaNode[T] = LevshaNode[T] { rc => val document: Elem = XML.loadString(html) def aux(node: XmlNode): Unit = node match { case scala.xml.Text(text) =>...