remove semicolons

also fixes [this issue] (https://github.com/thlorenz/doctoc/issues/28) in doctoc