Skip to content

Don't wrap pasted code when it's already inside code tags

Douwe Maan requested to merge dm-paste-code-inside-gfm-code into master

Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/32507 by not wrapping code in backticks (1 or 3 depending on single/multiline) when the GFM textarea it's pasted into already has backticks around the cursor.

Merge request reports

Loading