#259 fix anchor links within same function