Superfluous Span Tags
Older versions of OrchestraCMS, prior to 8.134.2 will automatically wrap content items placed on a page in <span> tags. There is an option in the OrchestraCMS Setup | Site | Details that can be used to disable this default span behaviour. If you select the Disable Superfluous Span Tags checkbox it will change the structure of the markup that is output by OrchestraCMS. This change in behaviour may affect your styling. Since the option is applied site-wide, the decision to enable/disable the behaviour should be made prior to the creation of the bulk of your styling rules. In newer releases, post 8.134.2 superfluous spans will be disabled by default.
See below the markup produced by a Document Style 1 content template with span tags enabled and span tags disabled. One set of wrapping span tags is included by the panel the content is placed in and one set of span tags will be added to wrap markup of each content placed in the panel. This example is a single piece of content in a panel.
Markup with Span Tags Enabled
<span> <span> <h1 class="document-1-title">Welcome Message</h1> <span class="document-1-content"> <p>Welcome to my site!</p> <p>Our company is the foremost maker of widgets in the world.</p> </span> </span> </span>
Markup with Span Tags Disabled
<h1 class="document-1-title">Welcome Message</h1> <span class="document-1-content"> <p>Welcome to my site!</p> <p>Our company is the foremost maker of widgets in the world.</p> </span>