Auto closing tags if they allows only inline nodes as child nodes

Fixes #68