Suggested modifications for basic Textpattern language definition

As per your request, here are some suggested changes for supporting Textpattern by extending the built-in HTML tag handling.