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 8916ec2 commit 2d6d64a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## 14.36.1 - 2024-10-11

### Fixed
- Incorrect parsing of `HTML` in `SimpleMDE` field

## 14.36.0 - 2024-09-27

### Added
Expand Down
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='@json($attributes['value'])'>
data-simplemde-text-value='@json($attributes['value'], JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES)'>
<textarea {{ $attributes }}></textarea>
<input class="d-none upload" type="file" data-action="simplemde#upload">
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/Platform/Dashboard.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class Dashboard
*
* @deprecated Use `Dashboard::version()` instead.
*/
public const VERSION = '14.36.0';
public const VERSION = '14.36.1';

/**
* @deprecated
Expand Down

0 comments on commit 2d6d64a

Please sign in to comment.