There are 3 updates, 3 comments.
 
 
XWiki Rendering / cid:jira-generated-image-avatar-ffcb9910-a2f5-4819-9b95-1f383ee5a824 XRENDERING-773 Closed

Final new lines are discarded from inline code macro content

 
View issue   ·   Add comment
 

3 updates

 
cid:jira-generated-image-avatar-a06fc33a-b4d0-4969-a2b3-6343c16b86b6 Changes by Raphaël Jakse on 13/Feb/25 13:18
 
Assignee: Raphaël Jakse
Resolution: Won't Fix
Status: Open Closed
 
 

3 comments

 
cid:jira-generated-image-avatar-a06fc33a-b4d0-4969-a2b3-6343c16b86b6 Raphaël Jakse on 13/Feb/25 13:15
 

Thomas Mortagne yes, I did end up with this syntax by asking the renderer to serialize a content with a newline at the end.

in ConfluenceXWikiGeneratorListener, which extends XHTMLXWikiGeneratorListener:
 

super.onMacroInline(CODE, params, code)

See also CONFLUENCE-398.

 
cid:jira-generated-image-avatar-a06fc33a-b4d0-4969-a2b3-6343c16b86b6 Raphaël Jakse on 13/Feb/25 13:19
 

"Fixing" this would be a backward-incompatible change, as discussed.

We may want to handle this in a future version of the syntax.

 
cid:jira-generated-image-avatar-a06fc33a-b4d0-4969-a2b3-6343c16b86b6 Raphaël Jakse on 13/Feb/25 13:20
 
Closing as WONT FIX, as " Fixing fixing " this would be a backward-incompatible change, as discussed.

We may want to handle this in a future version of the syntax.