fix xss...
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
<div class="gapLeft"></div>
|
||||
</div>
|
||||
@if(item.title)
|
||||
<div class="item_title">{{ item.title }}</div>
|
||||
<div class="item_title">{!! item.title !!}</div>
|
||||
@endif
|
||||
|
||||
<div class="content">
|
||||
@@ -206,7 +206,7 @@
|
||||
<th>Title</th>
|
||||
<td>
|
||||
<div class="info-title-edit-wrap">
|
||||
<input type="text" id="info-title-input" class="info-title-input" value="{{ item.title || '' }}" placeholder="Add a title…" maxlength="500" data-item-id="{{ item.id }}" />
|
||||
<input type="text" id="info-title-input" class="info-title-input" value="{!! item.title || '' !!}" placeholder="Add a title…" maxlength="500" data-item-id="{{ item.id }}" />
|
||||
<button id="info-title-save" class="info-title-save-btn"><i class="fa-solid fa-check"></i></button>
|
||||
</div>
|
||||
<span id="info-title-status" class="info-title-status" style="display:none"></span>
|
||||
@@ -215,7 +215,7 @@
|
||||
@elseif(item.title)
|
||||
<tr>
|
||||
<th>Title</th>
|
||||
<td>{{ item.title }}</td>
|
||||
<td>{!! item.title !!}</td>
|
||||
</tr>
|
||||
@endif
|
||||
<tr>
|
||||
|
||||
Reference in New Issue
Block a user