Hello Michael,
The combination of the LearnDash shortcode and the global block shortcode is the source of the issue. You said you used this pattern:
[visitor course_id="22904"][cs_gb id=114261][/visitor]
[student course_id="22904"][cs_gb id=114256][/student]
The visitor and the student output must be wrap with <div>
tag. The global shortcode output were wrapped with <div>
as well. When inserting it in the content area element, there should be NO new line or line break to avoid any auto conversion of <p>
tag. Therefore, please edit your content and use this:
[visitor course_id="22904"][cs_gb id=114261][/visitor][student course_id="22904"][cs_gb id=114256][/student]
Having it this way, we are preventing the content area element to auto inject <p>
tag in between.
Kindly let us know how it goes.