Uploaded image for project: 'Blog Application'
  1. Blog Application
  2. BLOG-251

Blog posts with "&" character in title not displayed correctly in Blog.WebHome page nor in _blogpostlist_ macro when layout is set to "compact"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 9.15.9
    • None
    • Unknown

    Description

      The "&" character in the title of a blog post is not displayed correctly on the Blog.WebHome page or when using the blogpostlist macro with the layout set to "compact". The title is rendered as

       {{html clean="false" wiki="false"}}Something & Something{{/html}} 

      , instead of the actual "Something & Something".

      To reproduce for the Blog.WebHome:

      1. Create a blog post with a title containing "&" in title, for example "Something & Something".
      2. Go to the "Blog.WebHome" page and open the "Objects" editor.
      3. Set the "Posts Layout" field to "Compact" and save.
      4. See the output
         {{html clean="false" wiki="false"}}Something & Something{{/html}} 

        .

      To reproduce for the blogpostlists marco:

      1. Create a blog post with a title containing "&" in title, for example "Something & Something".
      2. In another page, insert this:
         {{blogpostlist layout="compact" limit="20" paginated=„no"}} 

         and save.

      3. See the output
         {{html clean="false" wiki="false"}}Something & Something{{/html}} 

        .

       

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ecojocariu Eleni
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: