Content break tag
-
Hello,
We had a problem with your shortcodes, it seems to delete break tags in content.
For example, if we create columns and we add text with new lines it doesn’t show the line break.
I found and modified your code, mayble could you integrate it for the next releases ?uix-shortcodes.php:1059 (do_callback( $str))
//Remove <br> or <br /> tags
// Before :
$value = preg_replace( ‘/((\s+?)\<br\s*\/>)+/’, ”, $value );
// After :
$value = preg_replace( ‘/(\>(\s+?)\<br\s*\/>)+/’, ‘>’, $value );I didn’t found a way to write it in functions.php …
Thank you
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Content break tag’ is closed to new replies.