Cdetailview With 'type'=>'ntext' Will Remove Blanks ?

CDetailView with ‘type’=>‘ntext’ will remove blanks ?


In database -> table -> text field’s content:



using CDetailView with type "ntext" to display it:



Is it an issue ? or how to fix it?

That’s a presentational issue: Multiple whitespaces will be collapsed by the browser. You can apply some CSS to fix that.

You are right! Thank you. ;)