retype icon indicating copy to clipboard operation
retype copied to clipboard

Continuation line loses separator

Open ddnexus opened this issue 4 months ago • 4 comments

The separator of continuation lines shown below disappears when wrapped with a ===


### Title 

- Fist indentation
  - Second indentation
    continuation

=== Something

- Fist indentation
  - Second indentation
    continuation

===

ddnexus avatar Aug 16 '25 18:08 ddnexus

Confirmed, there is a markdown parsing issue, although the issue appears to be related to the hard line endings within nested lists, and does not appear to be directly related to the === Panel component.

I'm testing with the following markdown:

Item 1\
continuation

Item 2\
continuation

Item 3\
continuation

---

- Item 1\
  continuation
- Item 2\
  continuation
- Item 3\
  continuation

---

- Item 1
  - Item 1.1\
    continuation
- Item 2
  - Item 2.1\
    continuation
- Item 3
  - Item 3.1\
    continuation
Image

For the first and second groups, a hard <br /> line-break is added:

<!-- Group 1, Item 1 -->
<p>Item 1<br />
continuation</p>

<!-- Group 2, Item 1 -->

<li><p>Item 1<br />
continuation</p>
</li>

But for the nested list in Group 3, a line-break is not added:

<li><p>Item 1</p>
<ul>
<li>Item 1.1continuation</li>
</ul>
</li>

We will investigate and try to fix. At the moment, it is not clear what is going wrong here.

Thanks for letting us know about this defect.

geoffreymcgill avatar Aug 18 '25 04:08 geoffreymcgill

Happy to help.

However my problem is not hard ended lines, but soft ended lines that should continue. For example, I want to soft split a nested line in the source, and render it as a single line (with a space or return, not a <br>).

The canonical way to do it in markdown should be:

- first line
  - second line
    and soft continuation

That should render as 2 lines, (as correctly rendered without the ===):

  • first line
    • second line and soft continuation

While (when wrapped with a ===) is rendered as:

  • first line
    • second lineand soft continuation

HTH

ddnexus avatar Aug 18 '25 08:08 ddnexus

Thanks for the clarification. Looks like multiple issues are happening here. We will try to figure out what is going wrong and get this fixed asap.

geoffreymcgill avatar Aug 18 '25 14:08 geoffreymcgill

Any news?

ddnexus avatar Nov 12 '25 05:11 ddnexus