Title: Joomla textarea replaces newlines with __ (2 underscores)
Tags: model-view-controller;joomla;textarea;fieldset
Question: Good day to you all,

I am not exactly a Joomla Expert. Afters hours of searching the net for an answer, i decided to try it here.

I am writing a simple Joomla component. In the view part I have a view called 'information'. I want in the backend that the administrator can add some text.

This is how the default.xml looks like:

```<?xml version="1.0" encoding="utf-8"?&gt;
<metadata&gt;
    <layout title="Informationform"&gt;
        <message&gt;
            <![CDATA[Informationform]]&gt;
        </message&gt;
    </layout&gt;

    <fields name="request"&gt;
        <fieldset name="request" label="Contactform Properties"&gt;
            <field name="templatename" type="text" label="E-mail-templatename"&gt;</field&gt;
            <field name="extracss" type="textarea" rows="8" cols="40" filter="raw" label="Extra CSS"&gt;</field&gt;
        </fieldset&gt;
    </fields&gt;
</metadata&gt;
```

In the backend I can add the contact form as a menutitem. On the rightside I can edit my extra fields.
After I input some lines of text in the textarea and saved the menu-item. All newline-characters are replaced by __ (2 underscores).

Original text:

```This is an example 
text.
As you can see there 
are multiple lines.
```

After saving the text:

```This is an example__text.__As you can see there__are multiple lines.
```

Does anybody know how to solve this?

Comment: How are you making the line breaks?

Comment: I suspect it is doing \r\n and that is getting stripped out by the input filters.  How about using  instead?

Comment: Thats simple. Behind my keyboard I hit the enter-key, inside the text area.



{'source': 'StackExchangeDataset', 'subset': 'stackoverflow.com', 'metadata': {'AnswerCount': 0, 'CommentCount': 3, 'ContentLicense': 'CC BY-SA 3.0', 'CreationDate': '2013:00:04/21/13', 'FavoriteCount': None, 'PostTypeId': 1, 'Tags': '<model-view-controller><joomla><textarea><fieldset>', 'Title': 'Joomla textarea replaces newlines with __ (2 underscores)', 'ViewCount': 477, 'id': 16129616, 'user_AboutMe': None, 'user_AccountId': 1822621.0, 'user_DisplayName': 'user1656294', 'user_Reputation': 1.0, 'user_Views': 3.0, 'user_id': 1656294.0}}