5e-Framework icon indicating copy to clipboard operation
5e-Framework copied to clipboard

New lines not working properly in text fields

Open Jasper-Hawks opened this issue 3 years ago • 0 comments

Describe the bug Every time data is entered into a MarkDown compatible text field entering a new line has unexpected behavior. Instead of the text displaying on a new line, the text is concatenated with the line above.

To Reproduce Steps to reproduce the behavior:

  1. Create any item that requires you to enter text in a MarkDown compatible text field.
  2. Enter text that spans more than one line without returning more than once.
  3. Save the item and look at the display of the text in the GUI.
  4. The text should be concatenated if you did not return more than one line.

Expected behavior The text should display on the next line without the use of the two spaces after the line or having to return twice.

Desktop (please complete the following information):

  • OS: Arch Linux
  • Maptool Version 1.8.5
  • Framework Version 2.5.6

Workaround The solution for this is to put two spaces after a line that follows another.

Jasper-Hawks avatar May 19 '21 21:05 Jasper-Hawks