1. When we have a tag '&onetag' and add a Tagged journal entries block to a page, the block will show no entries even if we have one, displaying the message:
There are no journal entries tagged "&onetag"
If we edit the block and save without changes, it will display the message:
There are no journal entries tagged "&&onetag"
and it will continue to add "&" at the beginning of the tag for each time we save
2. If we set a tag like "<script>alert('Hello');</script>" and we select it in a Tagged journal entries block a javascript alert is displayed with text "Hello" and the tag is displayed as empty in the select field
For testing also check:
1. When we have a tag '&onetag' and add a Tagged journal entries block to a page, the block will show no entries even if we have one, displaying the message:
There are no journal entries tagged "&onetag"
If we edit the block and save without changes, it will display the message:
There are no journal entries tagged "&&onetag"
and it will continue to add "&" at the beginning of the tag for each time we save
2. If we set a tag like "<script> alert(' Hello') ;</script> " and we select it in a Tagged journal entries block a javascript alert is displayed with text "Hello" and the tag is displayed as empty in the select field