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

### Required

[[1](https://github.com/amiaslee/obsidian-pintora/blob/aaa3811aad99036a8df4620a860558a47b378ee8/src/processor.ts#L94)][[2](https://github.com/amiaslee/obsidian-pintora/blob/aaa3811aad99036a8df4620a860558a47b378ee8/src/processor.ts#L119-L145)][[3](https://github.com/amiaslee/obsidian-pintora/blob/aaa3811aad99036a8df4620a860558a47b378ee8/src/processor.ts#L141)][[4](https://github.com/amiaslee/obsidian-pintora/blob/aaa3811aad99036a8df4620a860558a47b378ee8/src/processor.ts#L173-L210)][[5](https://github.com/amiaslee/obsidian-pintora/blob/aaa3811aad99036a8df4620a860558a47b378ee8/src/processor.ts#L207)][[6](https://github.com/amiaslee/obsidian-pintora/blob/aaa3811aad99036a8df4620a860558a47b378ee8/src/processor.ts#L229-L279)][[7](https://github.com/amiaslee/obsidian-pintora/blob/aaa3811aad99036a8df4620a860558a47b378ee8/src/processor.ts#L229-L266)][[8](https://github.com/amiaslee/obsidian-pintora/blob/aaa3811aad99036a8df4620a860558a47b378ee8/src/processor.ts#L263)][[9](https://github.com/amiaslee/obsidian-pintora/blob/aaa3811aad99036a8df4620a860558a47b378ee8/src/processor.ts#L316)][[10](https://github.com/amiaslee/obsidian-pintora/blob/aaa3811aad99036a8df4620a860558a47b378ee8/src/processor.ts#L481)]: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/amiaslee/obsidian-pintora/blob/aaa3811aad99036a8df4620a860558a47b378ee8/src/processor.ts#L408)][[2](https://github.com/amiaslee/obsidian-pintora/blob/aaa3811aad99036a8df4620a860558a47b378ee8/src/processor.ts#L409)][[3](https://github.com/amiaslee/obsidian-pintora/blob/aaa3811aad99036a8df4620a860558a47b378ee8/src/processor.ts#L445)][[4](https://github.com/amiaslee/obsidian-pintora/blob/aaa3811aad99036a8df4620a860558a47b378ee8/src/processor.ts#L446)][[5](https://github.com/amiaslee/obsidian-pintora/blob/aaa3811aad99036a8df4620a860558a47b378ee8/src/processor.ts#L448)][[6](https://github.com/amiaslee/obsidian-pintora/blob/aaa3811aad99036a8df4620a860558a47b378ee8/src/processor.ts#L449)][[7](https://github.com/amiaslee/obsidian-pintora/blob/aaa3811aad99036a8df4620a860558a47b378ee8/src/processor.ts#L489)][[8](https://github.com/amiaslee/obsidian-pintora/blob/aaa3811aad99036a8df4620a860558a47b378ee8/src/processor.ts#L508)][[9](https://github.com/amiaslee/obsidian-pintora/blob/aaa3811aad99036a8df4620a860558a47b378ee8/src/processor.ts#L511)][[10](https://github.com/amiaslee/obsidian-pintora/blob/aaa3811aad99036a8df4620a860558a47b378ee8/src/processor.ts#L521)]: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.