Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-34763

Live Search Macro is not working correctly with page excerpt

    XMLWordPrintable

Details

    Description

      When using the live search on a page and selecting "page excerpt" on the additional information field the content is not being displayed correctly.

      Steps to reproduce :

      1. Create a brand new space called Search.
      2. Now add the live search macro on the Home page of this space.
      3. Edit the Live search macro;
      4. in the additional information field select page excerpt
      5. Now create a second page called This is My Bacon:
      6. In there add the following test:
        This is not part of the excerpt
        
      7. Then add the excerpt macro with the following:
        Bacon ipsum dolor sit amet strip steak frankfurter short loin, filet mignon porchetta landjaeger andouille. Strip steak sirloin prosciutto pork pork chop.
      8. You can also use the following source code as well:
        <p>This is not part of the excerpt </p>
        <ac:structured-macro ac:name="excerpt">
          <ac:parameter ac:name="atlassian-macro-output-type">INLINE</ac:parameter>
          <ac:rich-text-body>
            <p>Bacon ipsum dolor sit amet strip steak frankfurter short loin, filet mignon porchetta landjaeger andouille. Strip steak sirloin prosciutto pork pork chop.</p>
          </ac:rich-text-body>
        </ac:structured-macro>
        
      9. Now go back to Search space home page.
      10. Search for Bacon.
        • Actual result:

      You can see in above image the live search macro returned *"This is not part of the excerpt * together with the content of the macro.

      As a expected result the live search macro should be showing only the content inside the excerpt macro as per selected option.

      Attachments

        1. img.PNG
          74 kB
          Deividi Luvison

        Activity

          People

            Unassigned Unassigned
            dluvison Deividi Luvison (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: