Fixing bug 5993

on shared publication, some characters (like quote, double quote) were not correctly displayed