Be aware of selector regions when submitting code

In order to not submit HTML code in a mixed-mode document

Issue #3