fix inline/block invocation with mistune

something changed, and tests started failing