Skip to content

Use proper markdown rendering for previews

Brett Walker requested to merge bw-enable-commonmark-preview into master

What does this MR do?

Based on the version of markdown a field was created with, use the proper markdown engine (Redcarpet or CommonMark) to render the preview

Are there points in the code the reviewer needs to double check?

Why was this MR needed?

Markdown previews only use the default rendering engine, no matter what version the data was saved as.

Screenshots (if relevant)

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

https://gitlab.com/gitlab-org/gitlab-ce/issues/43011

Edited by Brett Walker

Merge request reports