There is 1 update, 1 comment.
 
 
Book Versions / cid:jira-generated-image-avatar-4c3b9fe6-3bd1-43b2-9867-4ab9f31d70d0 BVERSION-163 Open

The inline variant macros result into block elements at publication

 
View issue   ยท   Add comment
 

1 update

 
cid:jira-generated-image-avatar-7df701ab-d3e8-43c8-b0bf-4d5573c588cf Changes by Raluca Stavro on 18/Feb/25 21:38
 
Description: If a page has the following content :

{code}
Content for variant {{variant name="Book.Variants.A"}}A{{/variant}}{{variant name="Book.Variants.B"}}B{{/variant}}
{code}

it will be published for Book with variant A as :

{code}
Content for variant

A
{code}
 
 

1 comment

 
cid:jira-generated-image-avatar-7df701ab-d3e8-43c8-b0bf-4d5573c588cf Raluca Stavro on 18/Feb/25 21:46
 

One solution would be to use a placeholder macro that would hold the content of the source variant macro at publication and it will have the same display type as the source variant macro (inline / block).