Repository navigation
Use JSoup to convert HTML to XHTML after parsing with Flexmark - #1001
Conversation
That way valid XHTML is passed to the XHTML parser. This is crucial as markdown may contain elements which are no properly closed (for example inline html5 with unclosed <p> tags) This closes apache#999
|
There is no way to configure flexmark? The is yet another problem with JSoup. The the library is great, the license conditions are problematic to distribute. There was a report about this in Wagon and at the end I have removed JSoup because of this. Please look up the issue in JIRA. |
|
JSoup is MIT which is according to https://www.apache.org/legal/resolved.html#category-a Category A and fully fine with ASF policies. |
|
|
But are we shading it in this case? I don't get what the problem is? |
I don't that shading is the problem, but using the binary library. |
|
Again, why? Can you explain in one sentence? So you say depending on MIT licensed JAR is to be avoided? |
|
As I see on ML the sentence that causes the problem when jsoup is included in build result is "The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.", but here, a plain maven dependency is declared, and is nothing like that (shading/copying). JSoup will not be present in the artifacts (source or binaries) we will once vote upon either. Again, no idea what are you implying. |
IANAL. Just wanted to make you guys aware of previous discussion. |
|
IANAL either, but there (in "wagon case") it was shading the obvious problem: you "included" (copied) JSoup software into your software and you put it on ASF vote. Basically JSoup became part of the vote. |
|
@kwin Please assign appropriate label to PR according to the type of change. |
That way valid XHTML is passed to the XHTML parser. This is crucial as markdown may contain elements which are no properly closed (for example inline html5 with unclosed
tags)
This closes #999
Following this checklist to help us incorporate your
contribution quickly and easily:
Note that commits might be squashed by a maintainer on merge.
This may not always be possible but is a best-practice.
mvn verifyto make sure basic checks pass.A more thorough check will be performed on your pull request automatically.
mvn -Prun-its verify).If your pull request is about ~20 lines of code you don't need to sign an
Individual Contributor License Agreement if you are unsure
please ask on the developers list.
To make clear that you license your contribution under
the Apache License Version 2.0, January 2004
you have to acknowledge this by using the following check-box.