What are the rules for mixing shortcodes with html markup? The following works as expected:
<div>some text[sca att=x]some text [scb att=y]some text.</div>
but, if I insert paragraph markup like this:
<div>some text[sca att=x]some text <p>[scb att=y]some text</p>.</div>
then the entire post is not displayed. (I'm showing what is actually in the post_content field of the database)
I need to do a significant amount of word and phrase substitution, and I'm trying to do it with shortcodes. But I also need to format the result with html markup, like paragraphs.
Am I required to place every shortcode by itself on a new line?