Uploaded image for project: 'Book Versions'
  1. Book Versions
  2. BVERSION-254

Variant macro merges with content from macro in its content

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.30.3
    • 1.0
    • Variant
    • None
    • Unknown

    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

      Attachments

        Activity

          People

            mpace Mathieu Pace
            mpace Mathieu Pace
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: