ExpandAideCodeListener
in package
FinalYes
Transformation du raccourci `<aide:code>…</aide:code>` avant l’échappement HTML.
Un seul passage via preg_replace_callback (pas de réinjection scannée)
et des plafonds taille / occurrences pour éviter une amplification DoS
par imbrication de balises.
Table of Contents
Constants
- MAX_CODE = 10000
- MAX_REPLACEMENTS = 50
Methods
- onPreEchappeHtmlPropre() : void
Constants
MAX_CODE
private
mixed
MAX_CODE
= 10000
MAX_REPLACEMENTS
private
mixed
MAX_REPLACEMENTS
= 50
Methods
onPreEchappeHtmlPropre()
public
onPreEchappeHtmlPropre(PreEchappeHtmlPropreEvent $event) : void
Parameters
- $event : PreEchappeHtmlPropreEvent
Attributes
- #[AsPipelineListener]