Skip to content

Remove unnecessary md header divider when previewing

What does this MR do and why?

When previewing Markdown, an unnecessary header divider was showing. This MR ensures it does not show when previewing.

Changelog: fixed

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Editor Before After
Work item or issuable comment or description md_preview_before md_preview_after
Service incident timeline entry incident_timeline_md incident_timeline_md
(no change; cannot preview)

How to set up and validate locally

  1. Check out this branch
  2. Create an issue anywhere in the GDK
  3. Make sure you're using markdown mode in the description
  4. Preview the description
  5. You will see that there is no separator to the right of the "Continue editing" button while previewing.

Related to #425467 (closed)

Edited by Chad Lavimoniere

Merge request reports