IDL2K: remove dfn-panel class during IDL extraction

This commit is contained in:
Sergey Mashkov
2016-10-13 21:52:25 +03:00
parent 2496f24817
commit df21b8bb7e
@@ -81,6 +81,8 @@ private fun extractIDLText(url: String, out: Appendable) {
}
}
soup.select(".dfn-panel").remove()
soup.select("pre.idl").filter {!it.hasClass("extract")}.forEach(::append)
soup.select("code.idl-code").forEach(::append)
soup.select("spec-idl").forEach(::append)