我发布了从数据库获取内容的地方。在那个内容是图像,像这样:
<h1>Heading 1</h1>
{{ HTML::image('images/export-html.png', $alt = "export to html package") }}
<p>Some content. This all is copied in database column</p>
但是我没有把它们放在我的帖子中。 邮政编码是这样的,例如:
@section('content')
{{ $htmltablepost->bigdescription }}
@stop
在这段代码中,除了图像,我得到了我需要的所有内容。如果我试图让他们这样:
@section('content')
{{ $htmltablepost->bigdescription }}
{{ HTML::image('images/export-html.png', $alt = "export to html package") }}
@stop
然后我从剖面线后面的第二行得到图像。哪里有问题?