Skip to Content Skip to Menu

[#1996] CR in TextArea Fields in Sticky Overlay issue?

  • scharles
  • scharles
  • OFFLINE
  • Posts: 55
  • Thanks: 0
  • Karma: 0
13 years 7 months ago #142784 by scharles
Actually this is better... add the nl2br function to the string as well:

[code:1]return nl2br(str_replace( '\n', '<br />', parent::getField( $field, $user, $output, $reason, $list_compare_types ) ));[/code:1]

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum

Facebook Twitter LinkedIn