@Override
protected void setSectionTitle() {
if(getEntity() != null){
- this.setText(getHeading() + ": " + getEntity().getAuthorshipCache());
+ String title = getHeading() + ": " + getEntity().getAuthorshipCache();
+ // we have to duplicate ampersands otherwise they are treated as
+ // mnenomic (see Label.setText() documentation)
+ // see also #4302
+ title = title.replace("&", "&&");
+ this.setText(title);
}
}