This issue has been created
 
 
Confluence / cid:jira-generated-image-avatar-0bffac5b-172a-4ea3-8d59-f69b98149262 CONFLUENCE-399 Open

auto-cursor-target paragraph at the end of a list item adds undesired new line after block macro

 
View issue   ·   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-9e6b85a8-f802-4315-afcc-2fd6272f8243 Raphaël Jakse created this issue on 13/Feb/25 14:09
 
Summary: auto-cursor-target paragraph at the end of a list item adds undesired new line after block macro
Issue Type: cid:jira-generated-image-avatar-0bffac5b-172a-4ea3-8d59-f69b98149262 Bug
Assignee: Unassigned
Created: 13/Feb/25 14:09
Priority: cid:jira-generated-image-static-major-6656fe72-440f-4ba2-9135-563b219de5bc Major
Reporter: Raphaël Jakse
Description:
        <ol><li><ac:structured-macro ac:name="expand" ac:schema-version="1"><ac:parameter ac:name="title">Sample Output (Click here to expand...)</ac:parameter><ac:rich-text-body><p><code>long code</code></p></ac:rich-text-body></ac:structured-macro><p class="auto-cursor-target"><br /></p></li></ol>

produces the following:

1. {{expand title="Sample Output (Click here to expand...)"}}{{code language="none"}}
long code
{{/code}}{{/expand}}\\

which makes the expand fail. The auto cursor target paragraph at the end of list items should be ignored.