You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FlyingSaucer could be more tolerant to minor errors in html source.
Instead of throwing an exception, say, for non-closed html5 tags, it could close them automatically.
I agree with @pbrant : If an application wants to clean up HTML before passing it to FlyingSaucer, that's the application's job. An optional plugin (or module) would be good. I already have a specific version of JSoup included with my application for various reasons (including, but not limited to, clean up before passing to Flying Saucer). Having potentially two versions of JSoup would unnecessarily bloat my application.
@DarkTyger Yes, we could close the issue and leave this problem for FS users to solve by themselves.
But it's a common request, and many users want to solve this problem.
So it's better to solve it once in FS than make people re-invent the wheel every time.
An optional plugin (or module) would be good.
This is exactly what I was think about: a separate plugin / module / something like that.
Having potentially two versions of JSoup would unnecessarily bloat my application.
You will never have two versions of JSoup. Both Maven and Gradle always leave only one version in classpath.
FlyingSaucer could be more tolerant to minor errors in html source.
Instead of throwing an exception, say, for non-closed html5 tags, it could close them automatically.
For example, we could use JSoup for job.
Triggered in discussion #277
The text was updated successfully, but these errors were encountered: