E' perché usi una textarea che non interpreta oggetti html (un po come qui sul forum) per vederli dovresti usare un iframe modificato