Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to insert line breaks dbunit dataset

How to insert line break in dbunit dataset? Like this:

    <user id="1" 
story="first line
       second line
       third line"/>

If I do it in this way field story in db appears divided by spaces only but I need a line break.

like image 868
Vladimir Avatar asked May 06 '10 12:05

Vladimir


1 Answers

Upps, I found solution:

<user id="1" 
story="first line&#13;&#10;second line&#13;&#10;third line"/>
like image 124
Vladimir Avatar answered Nov 20 '22 07:11

Vladimir