fixes problem with inner-references in github asciidoctor version.