New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The case text displays in a row without line feed but display normally when editing #623

Closed
chenchangjiang opened this Issue Nov 20, 2018 · 2 comments

Comments

Projects
None yet
2 participants
@chenchangjiang

chenchangjiang commented Nov 20, 2018

Description of problem

The case text displays in a row without line feed but display normally when edting

Version or commit hash (if applicable)

6.2.1

Steps to Reproduce

  1. Create a new test case, without serial number then save it
  2. Check case text display

Actual results

The case text displays in a row without line feed. But if try to edit it, text display normally

Expected results

The case text displays in several rows with line feed

Additional info (Python traceback, logs, etc.)

Is there some display logic here? My PC is Mac OS.

  1. If I create case with automated number such as 1. 2. 3... case text will display ok with line feed.
  2. I import lots of cases via python script from xlsx file, and with line feed in steps or result. After importing, some case display ok and some display in a row. A little confused.

111
222

@atodorov

This comment has been minimized.

Member

atodorov commented Nov 20, 2018

I don't know if this is working as designed or an actual problem. I think it is by design.

The editor supports markdown do the shown text isn't a valid format for multi-line text. As a result it gets rendered as a single <p> tag in the HTML.

atodorov added a commit that referenced this issue Nov 20, 2018

@chenchangjiang

This comment has been minimized.

chenchangjiang commented Nov 21, 2018

Yes. You are totally right. This editor use markdown format. Case with prefix number + dot + space is markdown lists, so display OK.

Seems you have fixed this? Change markdown to HTML? In future , we just use normal text and press Enter key, it will change to another line? Or still need use markdown format in editor?

@atodorov atodorov closed this in 3f5c142 Nov 21, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment