Daily Lucky Numbers:
3
22
23
30
38
49

Enable HTML Block or PHP block/Page Escape Filter

Started by grandseb59, April 09, 2022, 06:30:02 AM

Previous topic - Next topic

grandseb59

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

Chen Zhen

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).