WebDev

EhPortal => EhPortal Support => Topic started by: grandseb59 on April 09, 2022, 06:30:02 AM

Title: Enable HTML Block or PHP block/Page Escape Filter
Post by: grandseb59 on April 09, 2022, 06:30:02 AM
hello,
What are these functions for?

Enable HTML Block or PHP block/Page Escape Filter

particularly "Page Escape Filter"

the translation in French doesn't really give me the explanation of these functions, could you explain it differently please?

thank you
Title: Re: Enable HTML Block or PHP block/Page Escape Filter
Post by: Chen Zhen on April 24, 2022, 07:07:01 PM
If you use the option it will attempt to escape various characters that would normally not allow you to save the block due to errors.

ie.
You copy/paste some HTML and want to use it in a PHP block but it contains a mixture of single (apostrophes) & double quotes.
With that option enabled it will attempt to escape characters automatically when needed.
It will also remove anything using a double escape (backslash).
Title: Re: Enable HTML Block or PHP block/Page Escape Filter
Post by: grandseb59 on June 12, 2022, 09:14:30 AM
ok thank you
EhPortal 1.39.6 © 2024, WebDev