If you include more than symbol into pattern, custom html block it will html escape it #67038
Open
3 of 6 tasks
Labels
Needs Technical Feedback
Needs testing from a developer perspective.
[Type] Help Request
Help with setup, implementation, or "How do I?" questions.
Description
I use Alpine.js and often perform arrow function operation inside attributes for examples
<div :class="{ 'shown' : () => shown === true">
because I use>
quote turns final quote into "}”" causing incorrect tags. For example if you create with html block the following<div separator="()=>{}"></div>
it will turn on the output to<div separator="()=>{}”></div>
it should not be escaping final quotes.Step-by-step reproduction instructions
Open fresh WordPress installation,
create html block with the following contents
<div separator="()=>{}"></div>
the html output will look like this
<div separator="()=>{}”></div>
funny enough if you use
<
everything works fine.Screenshots, screen recording, code snippet
No response
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Please confirm which theme type you used for testing.
The text was updated successfully, but these errors were encountered: