Skip spaces between begin/end command and the section name option

LaTeX allows us to put spaces between ```\begin``` / ```\end``` command and the section name parameter. When parsing this the parser always fails. Skipping spaces fixes this.