Permit `_` in `allowed_custom_class?`

/cc @parkr

For processors called, say.....`html_pipeline`, for example.