Getting the raw data out of @text

Hello,

for my own component, I want to get the text out of an @text without the HTML markup, but as raw text with line breaks. For example, if someone enters:

ABC

DEF

I want to get exactly this back and not

ABC

DEF

.

Is this possible? I found out that this works with a textarea, but it would be much nicer to use @text and having it in the actual webpage to edit it…

Thanks

pocahontius

Sorry, I meant I do not want to get

<p>ABC</p><p>DEF</p>