Page 1 of 1

Fix HTMl files

Posted: 16 Jun 2017 06:41
by Indiboy
Is it possible to add a function to fix html code stored in a variable in a script action box?
Thanks

Re: Fix HTMl files

Posted: 16 Jun 2017 20:05
by Martin
Hi,

What do you mean by "fix", can you give an example? Do you want to format the HTML or escape special characters like <>?

Regards,
Martin

Re: Fix HTMl files

Posted: 18 Jun 2017 17:53
by Indiboy
I mean fix html parsing error.
Errors where
<p> tag is there but </p> is missing.
Bate text without <p> tag....etc

Re: Fix HTMl files

Posted: 18 Jun 2017 19:52
by Martin
I think it's something that will be rarely used. I can add it to the list of features under consideration but priority will be quite low. I recommend to use one of the online sites that provides such a service (search for HTML tidy). I did not find one the provides a nice REST service directly but maybe it exists and could be integrated easily with action HTTP Request.

Regards,
Martin