Hi Garion,
I’m not too sure why you are running into that issue. I created a document in a test project an it worked fine, so not sure why I can’t reproduce your error.
I’ve done similar functionality before and I remember running into some issues with my html if it wasn’t formatted correctly. I ended up creating a java action that took my html string and used the jsoup library to format it correctly.
Here is the java action if you want to give it a try
https://drive.google.com/file/d/1Wu70QwtOWhlummoIIEPAC1oNPuKvQRDF/view?usp=sharing
and the jar file for it. Its jsoup version 1.11.2
https://drive.google.com/file/d/1fVUoE5kVOALgzbvNXP9tro4ScqLBGcND/view?usp=sharing
Hope this helps!
Edit: Java action code
org.jsoup.nodes.Document document = Jsoup.parse(HTML);
document.outputSettings().syntax(org.jsoup.nodes.Document.OutputSettings.Syntax.xml);
return document.toString();
Hi,
The drive isn't accessible.
Is there a chance someone could share the java-action and file again? I'm running into the same issue