When blog-posts macro displays excerpts, display problem if the blog post contains macro text at the default excerpt point

XMLWordPrintable

    • Type: Bug
    • Resolution: Low Engagement
    • Priority: Low
    • None
    • Affects Version/s: 2.5, 2.6.2, 2.7, 5.6.3
    • Environment:
    • 2
    • Severity 3 - Minor
    • 0

      When using the blog-posts macro with content=excerpts option, the display of a blog post can show wiki markup if the blog post contains a macro whose content falls within the default text cut off for excerpts.

      For example, my blog-posts macro declaration looks like this:
      {blog-posts:time=7d|spaces=@all|labels=broadcast|content=excerpts}

      This displays a news item excerpt that contains three HTML links in the form: [2CHLJ|http://host:port/s/lookup?bug_number=2CHLJ]. The first two are shown correctly (as outbound links) in the blog post listing, but the third link shows a subset of the wiki link notation specified above. I think this is because the default blog-post excerpt text length falls within the text inside the macro.

      The default excerpt length for the blog-posts macro should count text after all wiki markup is evaluated to HTML, rather than internal macro text.

              Assignee:
              Unassigned
              Reporter:
              Jim Dibble
              Votes:
              16 Vote for this issue
              Watchers:
              16 Start watching this issue

                Created:
                Updated:
                Resolved: