Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This addresses a small bug where `Format::viewableImages()` was using unencoded quotes instead of encoded quotes to replace the `<img src=` matches. This means when the content is added to a textarea’s `draft-data-original` attribute the unencoded quotes break the attribute and displays raw HTML content. This moves the `Format::htmlchars()` call after the `preg_replace_callback()` so the quotes can be properly encoded (if needed).
- Loading branch information