rstacruz/flatdoc — pull request #28 by oderwat (2014-04-25 22:04:58+00:00)
Title: Fix for HTML Keyword highlighting.

The keyword highlighting in HTML code is broken if there are not attributes for a tag!

The following markdown code:

```html

Test

```

will create:

<div>test</div>

which looks like this:

<__div>Test</div>__

instead of:

<div>test</div>

which looks like this:

<__div__>Test<__/div__>

This was pretty easy to fix by just adding the & (of &gt;) as additional end besides of a space. I also changed the space to the /s regex so it also works in the (possible) case that a tag continues with a line break or a tab character.