introduce flag to allow "invalid nesting"

This might be a little controversial, therefore I made this a flag. The highlighting just looks very weird with one line hamlet snippets like "this <strong>is</strong> a test" not working.