WordPress.org

Making WordPress.org

Opened 8 months ago

Last modified 8 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:
Cc:

Description

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 8 months ago.
Was this fixed? Or am I missing something?

Download all attachments as: .zip

Change History (2)

@dufresnesteven
8 months ago

Was this fixed? Or am I missing something?

#1 @dd32
8 months ago

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

Last edited 8 months ago by dd32 (previous) (diff)
Note: See TracTickets for help on using tickets.