This issue has been created
 
 
Book Versions / cid:jira-generated-image-avatar-b27441df-002a-4894-b7bd-a6549e5a8bd3 BVERSION-254 Open

Variant macro merges with content from macro in its content

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-a954c29f-6a27-4930-a091-8f2fded4354e Mathieu Pace created this issue on 17/Nov/26 15:06
 
Summary: Variant macro merges with content from macro in its content
Issue Type: cid:jira-generated-image-avatar-b27441df-002a-4894-b7bd-a6549e5a8bd3 Bug
Affects Versions: 1.0
Assignee: Unassigned
Components: Variant
Created: 17/Nov/26 15:06
Priority: cid:jira-generated-image-static-major-a6a9cb50-4080-49eb-b2b2-ba8863648ab0 Major
Reporter: Mathieu Pace
Description:

Reproduction

1. Install Book Versions, and Pro Macros on your wiki
2. Create a Book
3. Create a variant (i.e. variantA)
4. Save the variant
5. Edit the variant in wiki mode and add panel macro wrapped by the variant macro such as

{{variant name="reference.of.variantA"}}

Text before the panel, random words

{{panel title="Getting started for new users"}}
* Product overview
* Key concepts
* Key features
* Quick start
{{/panel}}

{{/variant}}

6. Save and view the page
7. Edit the same page (variantA) in WYSIWYG mode

Expected result:
There is a panel macro inside the page which you can edit

Actual result:
There is no panel macro in WYSIWYG mode. The page only contains the variant macro which when opened has the panel macro inside it