Fix parsing of reST codeblock options with hyphens.