This issue has been created
There is 1 update.
 
 
Blog Application / cid:jira-generated-image-avatar-35a0b666-40d4-4b23-bce7-1197e3b54b01 BLOG-251 Open

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

 
View issue   ·   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-ef3b3410-fe79-4e3f-a2aa-8b9603b21b0f Eleni created this issue on 12/Feb/26 16:36
 
Summary: Blog posts with "&" character in title not displayed correctly in Blog.WebHome page nor in _blogpostlist_ macro when layout is set to "compact"
Issue Type: cid:jira-generated-image-avatar-35a0b666-40d4-4b23-bce7-1197e3b54b01 Bug
Affects Versions: 9.15.9
Assignee: Unassigned
Created: 12/Feb/26 16:36
Priority: cid:jira-generated-image-static-major-e886a5e5-5c37-45c2-8066-004cf11a257b Major
Reporter: Eleni
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-from blog{{/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.
  1. See the output html clean="false" wiki="false"}}Something & Something{{/html

 

 

 
 

1 update

 
cid:jira-generated-image-avatar-ef3b3410-fe79-4e3f-a2aa-8b9603b21b0f Changes by Eleni on 12/Feb/26 16:38
 
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 -from blog\ {{/html { }} |http://localhost:8080/xwiki/bin/view/Blog/Something%20%26%20Something]_ }}}, 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 |http://localhost:8080/xwiki/bin/view/Blog/Something%20%26%20Something] [ { \ {/html { }} |http://localhost:8080/xwiki/bin/view/Blog/Something%20%26%20Something] }}} . _

To reproduce for the _blogpostlists_ marco:
# Create a blog post with a title containing "&" in title, for example "Something & Something".
# In another page, insert this:
  { \ { {}_{{ blogpostlist layout="compact" limit="20" paginated=„no" / _{ }} }{_}}}{_}  and save.

# See the output [ { {{}_{ \{html clean="false" wiki="false"}}Something & Something \ {{/ html html_{ }} |http://localhost:8080/xwiki/bin/view/Blog/Something%20%26%20Something] }{_}}}{_}.