Line break (shift+enter) breaks key-value block in sidebar

Closed
Feature
Articles & Templates
Reported by
HereBeCush
Opened
Assigned to
mikolaszko

Description

I'm making a custom cleric domain for 5e and am using the sidebar of the article for a "quick reference" list outlining what the cleric gains at each level. I'm doing this in the sidebar using a series of key-value blocks where the key is the level (e.g "1st Level") and the value is the list of what is gained, separated by line breaks for better visual formatting.

While this styling works on the front end, if you leave the article editor and return to it (or reload the page) the formatting in the editor doesn't parse correctly.

Sidebar Blocks (before reloading)

Screenshot 2026-02-03 at 09.37.17.png

Sidebar Blocks (after reloading)

I think what is happening is that the block parser stops attempting to parse the key-value block at the first line break within the value, which is why it has a bullet point (as it would see "--1st level::Pious Devotion" and treat that as a list item due to the dash at the start

Steps to Reproduce

  1. Add a key-value block to the sidebar and include at least one line break (using shift+enter) within the 'value' part of the block
  2. Add subsequent key-value blocks to the sidebar (I'm not sure if this is necessary to repro)
  3. Reload the editor page
  4. You will see that, while the front end/world view of the article is still ok, the editor hasn't correctly parsed the block

History

Comments and updates to this report

mikolaszko Assignee
Assigned mikolaszko
mikolaszko Assignee

Thanks for the report, this is in fact fully reproducible. I'll look into it :)

mikolaszko Assignee

this has been fixed for some time, i forgot to update the ticket - make sure to check it out and ill be closing the bug shortly

HereBeCush
mikolaszko Assignee
set this bug to closed