]> BookStack Code Mirror - bookstack/blobdiff - resources/views/pages/wysiwyg-editor.blade.php
Allow toggling between grid and list view in shelf view (shelves.show)
[bookstack] / resources / views / pages / wysiwyg-editor.blade.php
index f9a0f03cf3d3e2fda35e6902133e9b39a7473bf5..1a67ee76f2d0992f7eb552878359f6d151db3b51 100644 (file)
@@ -5,7 +5,7 @@
     ])
 
     <textarea id="html-editor"  name="html" rows="5" v-pre
-          @if($errors->has('html')) class="text-neg" @endif>@if(isset($model) || old('html')){{htmlspecialchars( old('html') ? old('html') : $model->html)}}@endif</textarea>
+          @if($errors->has('html')) class="text-neg" @endif>@if(isset($model) || old('html')){{ old('html') ? old('html') : $model->html }}@endif</textarea>
 </div>
 
 @if($errors->has('html'))