Thank you for your submission, an automated scan of your plugin code's revealed the following issues:

### Required

[[1](https://github.com/gitcpy/obsidian-mermaid-pop/blob/d5d71e0ea788628452bc43b31baf019d0ea96055/src/main.ts#L43)][[2](https://github.com/gitcpy/obsidian-mermaid-pop/blob/d5d71e0ea788628452bc43b31baf019d0ea96055/src/main.ts#L52)]:Using `innerHTML`, `outerHTML` or similar API's is a security risk. Instead, use the DOM API or the Obsidian helper functions: <https://docs.obsidian.md/Plugins/User+interface/HTML+elements>

[[1](https://github.com/gitcpy/obsidian-mermaid-pop/blob/d5d71e0ea788628452bc43b31baf019d0ea96055/src/main.ts#L162)][[2](https://github.com/gitcpy/obsidian-mermaid-pop/blob/d5d71e0ea788628452bc43b31baf019d0ea96055/src/main.ts#L164)][[3](https://github.com/gitcpy/obsidian-mermaid-pop/blob/d5d71e0ea788628452bc43b31baf019d0ea96055/src/main.ts#L165)][[4](https://github.com/gitcpy/obsidian-mermaid-pop/blob/d5d71e0ea788628452bc43b31baf019d0ea96055/src/main.ts#L166)][[5](https://github.com/gitcpy/obsidian-mermaid-pop/blob/d5d71e0ea788628452bc43b31baf019d0ea96055/src/main.ts#L186)][[6](https://github.com/gitcpy/obsidian-mermaid-pop/blob/d5d71e0ea788628452bc43b31baf019d0ea96055/src/main.ts#L214)][[7](https://github.com/gitcpy/obsidian-mermaid-pop/blob/d5d71e0ea788628452bc43b31baf019d0ea96055/src/main.ts#L215)][[8](https://github.com/gitcpy/obsidian-mermaid-pop/blob/d5d71e0ea788628452bc43b31baf019d0ea96055/src/main.ts#L243)][[9](https://github.com/gitcpy/obsidian-mermaid-pop/blob/d5d71e0ea788628452bc43b31baf019d0ea96055/src/main.ts#L244)][[10](https://github.com/gitcpy/obsidian-mermaid-pop/blob/d5d71e0ea788628452bc43b31baf019d0ea96055/src/main.ts#L262)][[11](https://github.com/gitcpy/obsidian-mermaid-pop/blob/d5d71e0ea788628452bc43b31baf019d0ea96055/src/main.ts#L263)][[12](https://github.com/gitcpy/obsidian-mermaid-pop/blob/d5d71e0ea788628452bc43b31baf019d0ea96055/src/main.ts#L265)][[13](https://github.com/gitcpy/obsidian-mermaid-pop/blob/d5d71e0ea788628452bc43b31baf019d0ea96055/src/main.ts#L266)][[14](https://github.com/gitcpy/obsidian-mermaid-pop/blob/d5d71e0ea788628452bc43b31baf019d0ea96055/src/main.ts#L269)][[15](https://github.com/gitcpy/obsidian-mermaid-pop/blob/d5d71e0ea788628452bc43b31baf019d0ea96055/src/main.ts#L270)][[16](https://github.com/gitcpy/obsidian-mermaid-pop/blob/d5d71e0ea788628452bc43b31baf019d0ea96055/src/main.ts#L271)][[17](https://github.com/gitcpy/obsidian-mermaid-pop/blob/d5d71e0ea788628452bc43b31baf019d0ea96055/src/main.ts#L272)][[18](https://github.com/gitcpy/obsidian-mermaid-pop/blob/d5d71e0ea788628452bc43b31baf019d0ea96055/src/main.ts#L273)][[19](https://github.com/gitcpy/obsidian-mermaid-pop/blob/d5d71e0ea788628452bc43b31baf019d0ea96055/src/main.ts#L309)]:You should avoid assigning styles via JavaScript or in HTML and instead move all these styles into CSS so that they are more easily adaptable by themes and snippets.




---



Do <b>NOT</b> open a new PR for re-validation.
Once you have pushed all of the required changes to your repo, the bot will update the labels on this PR within 6 hours.
If you think some of the required changes are incorrect, please comment with `/skip` and the reason why you think the results are incorrect.