Update:
the problem is located in the function CleanTags. This function is intended to remove all HTML tags from the heading title, and seems that it adds random characters instead of remove the text included in <> bracket.
The strange is that this routine is unchanged since years, and is the same in 1.1.17,1.1.23 and 2.x
I will investigate further abut this problem…
Luke