I've written a little shortcode, following basic instructions on Wordpress Codex:
function myshortcode( $atts, $content = null ) {
extract( shortcode_atts( array(
...,
), $atts ) );
return some_html _code_here . $content;
}
When I put
[myshortcode]
this
is
a
test
content
[/myshortcode]
in a post, I obtain the following output:
this <br />
is <br />
a <br />
test <br />
content <br />
How can I avoid the inserting of br / tags?