nesting section fix

this fixes a problem where a <section> inside a [data-section] would cause problems
Merge pull request #1987 from ascottmccauley/section-nesting-fix

nesting section fix