Skip to content

Using --- causes odd formatting without double spacing #1623

Description

@aparry-gm

Describe the bug
When using --- to create dividing lines, if you have a line of text immediately before the line break, and the next line after the break is a heading, it turns that line before the divider into a header and the dividing line is not visible.

To Reproduce
Steps to reproduce the behavior:

  1. Create a new test
  2. Enter the template provided from the Additional context section into the markdown tab (This is our starting template for tests)
  3. Using the Rich editor, add a couple new steps. (Additional note, if you enter something like ... in a step or org.csv in a step, the rich text editor changes it to ... and org.csv when viewed in the markdown view even though the markdown view supports the original ... and org.csv format)
  4. Save and go back to the normal test view

Expected behavior
The last step is formatted as a step, not as a header and the extra blank line from the template is kept when adding steps from the rich editor

Screenshots
Image

Image

Desktop (please complete the following information):

  • OS: Apple/Mac
  • Browser Chrome
  • Browser Version 149.0.7827.156
  • Application: production

Additional context
Test case template below


Steps

  1. Navigate to the appropriate environment using the links above
  2. Login with a
  3. Select from the drop down menu
  4. Select the tab from the top navigation
  5. ...

Expected Results

<Each test should have 1 expected outcome>


Notes/Comments

Metadata

Metadata

Labels

bugsomething isn't workingeditoreditor, markdown, preview, editingpriority low

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions