Skip to content

Commit

Permalink
Fixed incorrect parsing of HTML in SimpleMDE field
Browse files Browse the repository at this point in the history
  • Loading branch information
tabuna committed Oct 11, 2024
1 parent b56de9b commit 3067a4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/fields/simplemde.blade.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@component($typeForm, get_defined_vars())
<div class="simplemde-wrapper" data-controller="simplemde"
data-simplemde-text-value="{{ base64_encode($attributes['value']) }}">
data-simplemde-text-value="{{ base64_encode($value) }}">
<textarea {{ $attributes }}></textarea>
<input class="d-none upload" type="file" data-action="simplemde#upload">
</div>
Expand Down

0 comments on commit 3067a4a

Please sign in to comment.