I want to let the user of my plugin define html tags to use before and after the text output by the shortcode, so I am using parameters where they can enter the tags. However the tags are being converted to html entities. I therefore resorted to using html_entity_decode(), is this good practice?
extract( shortcode_atts( array(
'count' => -1,
'category_name' => '',
'q_before' => '<h3>',
'q_after' => '</h3>',
'orderby' => 'date', //'none','ID','author','title','name','date','modified','parent','rand','menu_order'
'order' => 'ASC', //'DESC'
), $atts, 'myfaq' ) );
$q_before = html_entity_decode( $q_before );
$q_after = html_entity_decode( $q_after );
title='My<br>title'