What i would do since there isnt any uniform CBC css hack to handle it is this...
First determine if you want to permanently modify the input (e.g your layout will never change)...
in this case... when the user data is submitted, create a new DOM object and feed it the data from the editor... parse each node (html tag) and for each nodes value run the code the break the text apart and write it back to the node... when thats done put it in your database
If your layout may change then youll want to put the input directly into the DB as is and then run the above DOM on the output...
there's ups and downs to both...
the first option will output to the screen faster but you wont be able to reconstruct the user data later on if your layout changes
the second option will output slower as youll have to parse a DOM object on each output, but if you ever change your layout all you have to change is one snippet of code to break the wording
the middle ground would be to store the data twice in the db, once altered once raw... your overhead will be in the db storage and not your process time during the output