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
HtmlConverterCoreNodeRenderer.handleTableCell has a call to String.replaceAll("\\s*\n\\s*", " ") which can be quite slow. The regex is quite simple and can be sped up by removing the regex.
HtmlConverterCoreNodeRenderer.handleTableCell has a call to
String.replaceAll("\\s*\n\\s*", " ")
which can be quite slow. The regex is quite simple and can be sped up by removing the regex.To Reproduce
See attached file
test.html.txt
Expected behavior
The code takes >4000 ms to run on my laptop.
It should take much lesser time.
The text was updated successfully, but these errors were encountered: