come avviene la formattazione?
lato client con codice di formattazione nell'html? o come?

perché devi fare questo? usi un wysiwyg?