'Laravel export excel from view, prevent spacial characters error

I use maatwebsite/excel export from view, but when my column value contains any special characters like "&", export start sending error "Failed to load .................rameworkcachelaravel-excellaravel-excel-f7LgZIHgSnm4OjM2u6uZsW7WFwpjr5XJ.html as a DOM Document".



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source