我正在尝试使用引导程序为我的电子邮件模板赋予一种样式,但是每次 laravel 正在做的事情是,它都会解析模板并在模板中有“ = ”的地方添加一个“ 3D ” ,这会导致而不是,这是邮件源代码的片段style=3D"table"
style="table"
<div class=3D"well">
<table class=3D"table table-bordered table-striped" id=3D'table'>
<thead>
<th>Group Name</th>
<th>Kpi Name</th>
<th>User Name</th>
</thead>
<tbody>
</tbody>
</table>
</div>
这是我的模板代码
<html lang="en-US">
<head>
<meta charset="utf-8">
{{ HTML::style('app\\client\\css\\bootstrap.css') }}
{{ HTML::script('app\\javascripts\\js\\jquery-1.8.3.min.js') }}
{{ HTML::script('app\\client\\js\\bootstrap.min.js') }}
<style>
#table {
border: 2px solid #ccc;
border-radius: 5px;
}
</style>
</head>
<body>
<div class="well">
<table class="table table-bordered table-striped" id='table'>
<thead>
<th>Group Name</th>
<th>Kpi Name</th>
<th>User Name</th>
</thead>
<tbody>
@foreach ($groups as $group)
<tr>
<td>{{ $group['name'] }}</td>
<td>
<ul>
@if (array_key_exists('kpis', $group))
@foreach ($group['kpis'] as $kpi)
<li>{{ Kpi::find($kpi['kpi'])->title }}</li>
@endforeach
@endif
</ul>
</td>
<td>
<ul>
@if (array_key_exists('users', $group))
@foreach ($group['users'] as $user)
<li>{{ User::find($user['user'])->fName.' '.User::find($user['user'])->lName }}</li>
@endforeach
@endif
</ul>
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
<footer>
<br>
<br>
Regards,<br>
<strong>Yogesh Joshi</strong><br>
Group Leader
</footer>
</body>
</html>
是我遗漏了什么,或者laravel 或邮件服务器(gmail 或 hotmail)有问题,是的,我已经交叉检查了脚本和样式文件,它们确实存在于公用文件夹中。
请帮助或提供任何替代方法。