This issue has been created
There are 3 updates.
 
 
XWiki Platform / cid:jira-generated-image-avatar-4aaeafe5-3d5e-4180-b6c7-34fa775a81a4 XWIKI-22761 Open

Multiple paragraphs in the info macro do not result in multiple lines

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-48dacfb9-9f70-407a-b022-cfe9b987e8fc Charpentier Lucas created this issue on 08/Jan/25 11:06
 
Summary: Multiple paragraphs in the info macro do not result in multiple lines
Issue Type: cid:jira-generated-image-avatar-4aaeafe5-3d5e-4180-b6c7-34fa775a81a4 Bug
Affects Versions: 16.10.2
Assignee: Unassigned
Attachments: Screenshot from 2025-01-08 10-22-08.png
Components: Rendering - Box Macro
Created: 08/Jan/25 11:06
Labels: regression
Priority: cid:jira-generated-image-static-blocker-7bd236df-14d2-4198-b5d0-04f5fd98c718 Blocker
Reporter: Charpentier Lucas
Description:

First reported in https://forum.xwiki.org/t/new-design-of-boxes/15604/5

{{info}}
There should be
  
two lines.
{{/info}}


{{info}}
There should be

two lines.
{{/info}}

{{info}}
There should be
two lines.
{{/info}}

_thumb_43050.png

When there's an empty middle line, the parser interprets the content of the macro as two different paragraphs. This means it does not wrap them together in the same paragraph. We can see that in this situation, the layout is off: we would expect at least a newline between the two paragraphs, but they are both on the same line.

 
 

3 updates

 
cid:jira-generated-image-avatar-48dacfb9-9f70-407a-b022-cfe9b987e8fc Changes by Charpentier Lucas on 08/Jan/25 11:06
 
Assignee: Charpentier Lucas
 
cid:jira-generated-image-avatar-4b91874a-809b-460c-ad05-b071315c7be6 Changes by Vincent Massol on 08/Jan/25 11:11
 
Fix Version: 17.0.0-rc-1
Fix Version: 16.10.3