New lines added automatically to shortcode
-
Hi,
Can you add an option to controll it or remove the nl2br() function from shortcode output?
It’s really annoying when you are editing info box content with WP editor.
I found it in the include/otw_components/otw_shortcode/shortcodes/otw_shortcode_info_box.class.php
To remove new lines simply change line 397 from:
$html .= nl2br( $content );
To:
$html .= $content;
Thanks.
https://www.ads-software.com/plugins/info-boxes-shortcode-and-widget/
- The topic ‘New lines added automatically to shortcode’ is closed to new replies.