ATX Header closing space confusion

I don’t see any reference requiring spaces after the ATX header text for closing #'s
I.E.
what does ### This Rocks### produce?

Will it be

This Rocks###

or will it be

This Rocks

Spaces are not required before the closing #'s. This could be
explicitly stated (though it is implied by the principle that
what the spec doesn’t prohibit is permitted), and an example given.

1 Like

I’ve changed the spec to require space before the closing sequence of #s. This makes sense, given that space is required after the opening sequence – the same reasons apply to both cases. See http://github.com/jgm/CommonMark/issues/169.

2 Likes

Thank you, I find that much clearer

Tyson