The command to find the offending lines is: $ ag '<code [^<>]*class=\"inline\">[a-z_][A-Za-z0-9_]*[?!]?/\d+</code>(?!</a>)' doc/
The command to find the offending lines is: $ ag '<code [^<>]*class=\"inline\">[a-z_][A-Za-z0-9_]*[?!]?/\d+</code>(?!</a>)' doc/