You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Symbols such as >, <, and " are converted to their ampersand variants when used inside a code block, but they remain unchanged when outside a code block
To reproduce
I create a post and publish it. After I press publish > and < get’s immediately converted to > and < in the original markdown text. The markdown text was not saved correctly to the database. See "Additional context"
Expected behavior
I expect keep original text inside code blocks.
Screenshots
Visual changes after publish
Data stored in DB
Server environment
Ubuntu 22.04
Wordpress 6.6
WP Githuber MD plugin Version 1.16.3
PHP 8.1.2-1ubuntu2.18
Clean install, no other plugins or special settings applied.
User environment
OS: macOS Monterey 12.7.5
Browser Safari 17.5, Chrome 126.0.6478.183
Additional context
Data from DB post_content_filtered
i want to keep what i write
one symbol > or "amp" representation >
one symbol < or "amp" representation <
```
one symbol > or "amp" representation >
<title>
```
Expected markdown text
i want to keep what i write
one symbol > or "amp" representation >
one symbol < or "amp" representation <
```
one symbol > or "amp" representation >
<title>
```
The text was updated successfully, but these errors were encountered:
Describe the bug
Symbols such as
>
,<
, and"
are converted to their ampersand variants when used inside a code block, but they remain unchanged when outside a code blockTo reproduce
I create a post and publish it. After I press publish
>
and<
get’s immediately converted to>
and<
in the original markdown text. The markdown text was not saved correctly to the database. See "Additional context"Expected behavior
I expect keep original text inside code blocks.
Screenshots
Visual changes after publish
Data stored in DB
Server environment
Clean install, no other plugins or special settings applied.
User environment
Additional context
Data from DB
post_content_filtered
Expected markdown text
The text was updated successfully, but these errors were encountered: