Add possibility for HTML tags to contain Markdown text.

For instance, the following can now be written:
```
<div class="my_class" markdown="1">
- Item 1
- Item 2
- Item 3
</div>
```
Note: this is not done very cleanly, feel free to change it in a way that better suits the design of the software.