Making WordPress.org

Opened 20 months ago

Last modified 20 months ago

#5123 new defect

Escaped pipe characters not properly handled by wporg-markdown

Reported by: noisysocks Owned by:
Milestone: Priority: normal
Component: Handbooks Keywords:


In Markdown, to use a pipe character (|) in a table, one must escape it using a backslash (\):

| Character | Name |
| - | - |
| @ | At |
| \| | Pipe |

It doesn't look like wporg-markdown handles this case. For example, the string\|null here should appear as string|null: https://developer.wordpress.org/block-editor/packages/packages-env/#wp-env-json

Attachments (1)

Screen Shot 2020-04-02 at 2.07.50 PM.png (104.4 KB) - added by dufresnesteven 20 months ago.
Was this fixed? Or am I missing something?

Download all attachments as: .zip

Change History (2)

20 months ago

Was this fixed? Or am I missing something?

#1 @dd32
20 months ago

It was fixed by #5020, the problematic character is only in the master branch, introduced with https://github.com/WordPress/gutenberg/commit/6e3b72a260f42152295cbeda36b15519f67540d5#diff-d8567df8f65168c8284d7f590af7a553

Version 0, edited 20 months ago by dd32 (next)
Note: See TracTickets for help on using tickets.