Set whether to only allow local resources to be referenced by automatically fetching attributes e.g. the src attribute on an <img> tag. Does not apply to the href attribute as that won't be automatically fetched by a browser.
This is the code documentation for the SproutCMS project
Search documentation |
function setLocalResources()Set whether to only allow local resources to be referenced by automatically fetching attributes e.g. the src attribute on an <img> tag. Does not apply to the href attribute as that won't be automatically fetched by a browser.
Usagevoid $RichTextSanitiser->setLocalResources ( bool $local ); Arguments
Return value
|
| Powered by Pelzini, version 0.9.0 |
Documentation is made available under the
GNU Free Documentation License 1.2. Generated: Tuesday, 15th September, 2026 at 10:26 am |
|