ブートストラップを使用してメール テンプレートにスタイルを与えようとしていますが、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)に問題がありますか?スクリプトとスタイルファイルをクロスチェックしましたが、それらはパブリックフォルダーに存在します。
助けてください、または代替方法を提供してください。