Make section header parser more liberal.

Fixes GH-2