Fix HTMl files

Post your feature requets for new triggers, conditions, actions and other improvements.

Moderator: Martin

Locked
Indiboy
Posts: 27
Joined: 12 Apr 2017 06:07

Fix HTMl files

Post by Indiboy » 16 Jun 2017 06:41

Is it possible to add a function to fix html code stored in a variable in a script action box?
Thanks

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Fix HTMl files

Post by Martin » 16 Jun 2017 20:05

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

Indiboy
Posts: 27
Joined: 12 Apr 2017 06:07

Re: Fix HTMl files

Post by Indiboy » 18 Jun 2017 17:53

I mean fix html parsing error.
Errors where
<p> tag is there but </p> is missing.
Bate text without <p> tag....etc

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Fix HTMl files

Post by Martin » 18 Jun 2017 19:52

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

Locked