Level 55
@saren um just as an idea - try to replace it with & https://www.php.net/manual/en/function.htmlspecialchars.php
1 like
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I've been using Laravel excel export from view, once my column contain "&" character, it keeps sending error "Failed to load ................................................................... .html as a DOM Document", when I change value to other special characters or to "and" instead, it works normally. Are there any solutions, please?
Please or to participate in this conversation.