Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: More lenient regex for data-mkdocstrings-identifier
First introduced in #188, there's a regression: if something messes with the final HTML before mkdocstrings plugin gets to it, it can't be detected and replaced. A known case is with 'minify' plugin if it appears before our plugin in the config (which it shouldn't anyway). So workaround this specific case. Make the attribute quotes optional to also catch minified HTML. Hard to do much else, though perhaps a warning would make sense.
- Loading branch information