Laravel 5.3刀片解码HTML特殊字符

问题描述:

我在数据库中保存了一些HTML代码.当我将这些数据发送到刀片服务器时,CSS无法正常工作.

I save some HTML Code in my Database. When I got that data to the blade, CSS not working on.

在Page Source Code中,我发现<显示为& lt;'

In the Page Source Code I found that < shows as '& lt;'

我可以使用哪种方法转换& lt<

What method have I to use to convert & lt to <

有人可以帮助我吗?

将语法从{{ }}更改为{!! !!}应该可以解决问题的

Change your syntax from {{ }} to {!! !!} that should do the trick