Title: fabthe's Replies | WordPress.org

---

# fabthe

  [  ](https://wordpress.org/support/users/fabthe/)

 *   [Profile](https://wordpress.org/support/users/fabthe/)
 *   [Topics Started](https://wordpress.org/support/users/fabthe/topics/)
 *   [Replies Created](https://wordpress.org/support/users/fabthe/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/fabthe/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/fabthe/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/fabthe/engagements/)
 *   [Favorites](https://wordpress.org/support/users/fabthe/favorites/)

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contact Form 7] How to add line brake on textarea](https://wordpress.org/support/topic/how-to-add-line-brake-on-textarea/)
 *  [fabthe](https://wordpress.org/support/users/fabthe/)
 * (@fabthe)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/how-to-add-line-brake-on-textarea/#post-2132969)
 * Hi,
 * today, I had almost the same issue and fixed it for my use case.
 * [@takayuki](https://wordpress.org/support/users/takayuki/) Miyoshi:
    My fix is
   probably not working correct or does not cover the whole issue. Anyway, it probably
   helps you fixing it:
 * 1.) shortcode.php => Function: get_shortcode_regex() Line 76:
    I replaced “(?:((?!.*?\[(?:”
   with “(?:((?!.*?\[\/(?:” After this fix, I received the complete content “[textarea]…[/
   textarea] in the function do_shortcode_tag()
 * 2.) formatting.php => Function wpcf7_autop() Line 35:
    I copied this line and
   pasted it with following adapted reg-ex: “/\[(script|style|textarea).*?\[\/\\
   1\]/s” Now all “\n” in “[textarea]” AND “<textarea> get replaced by <“WPPreserveNewline/
   >”.
 * Following should work now:
 *     ```
       [textarea* textarea-962]
       blaabla blaa:
       blabla bla bla:
       [/textarea]
       ```
   
 * Following still does not work correctly:
 *     ```
       [textarea* textarea-962]
       blaabla blaa:
   
       blabla bla bla:
   
       bla bla
       [/textarea]
       ```
   
 * best wishes
    fabthe

Viewing 1 replies (of 1 total)