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

### Required

[[1](https://github.com/Vadimovski/obsidian_ai/blob/552f58d50551b16378e31e6dcdd22a62121b7a88/src/ui/process-modal.ts#L33)][[2](https://github.com/Vadimovski/obsidian_ai/blob/552f58d50551b16378e31e6dcdd22a62121b7a88/src/ui/process-modal.ts#L34)][[3](https://github.com/Vadimovski/obsidian_ai/blob/552f58d50551b16378e31e6dcdd22a62121b7a88/src/ui/process-modal.ts#L73)][[4](https://github.com/Vadimovski/obsidian_ai/blob/552f58d50551b16378e31e6dcdd22a62121b7a88/src/ui/process-modal.ts#L242)][[5](https://github.com/Vadimovski/obsidian_ai/blob/552f58d50551b16378e31e6dcdd22a62121b7a88/src/ui/batch-process-modal.ts#L208)][[6](https://github.com/Vadimovski/obsidian_ai/blob/552f58d50551b16378e31e6dcdd22a62121b7a88/src/ui/batch-process-modal.ts#L217)][[7](https://github.com/Vadimovski/obsidian_ai/blob/552f58d50551b16378e31e6dcdd22a62121b7a88/src/ui/batch-process-modal.ts#L226)][[8](https://github.com/Vadimovski/obsidian_ai/blob/552f58d50551b16378e31e6dcdd22a62121b7a88/src/ui/batch-process-modal.ts#L339)][[9](https://github.com/Vadimovski/obsidian_ai/blob/552f58d50551b16378e31e6dcdd22a62121b7a88/src/ui/batch-process-modal.ts#L348)][[10](https://github.com/Vadimovski/obsidian_ai/blob/552f58d50551b16378e31e6dcdd22a62121b7a88/src/ui/batch-process-modal.ts#L357)][[11](https://github.com/Vadimovski/obsidian_ai/blob/552f58d50551b16378e31e6dcdd22a62121b7a88/src/ui/feature-manage-modal.ts#L23)][[12](https://github.com/Vadimovski/obsidian_ai/blob/552f58d50551b16378e31e6dcdd22a62121b7a88/src/ui/feature-manage-modal.ts#L24)][[13](https://github.com/Vadimovski/obsidian_ai/blob/552f58d50551b16378e31e6dcdd22a62121b7a88/src/ui/feature-manage-modal.ts#L25)][[14](https://github.com/Vadimovski/obsidian_ai/blob/552f58d50551b16378e31e6dcdd22a62121b7a88/src/ui/feature-manage-modal.ts#L40)][[15](https://github.com/Vadimovski/obsidian_ai/blob/552f58d50551b16378e31e6dcdd22a62121b7a88/src/ui/feature-manage-modal.ts#L41)][[16](https://github.com/Vadimovski/obsidian_ai/blob/552f58d50551b16378e31e6dcdd22a62121b7a88/src/ui/feature-manage-modal.ts#L75)][[17](https://github.com/Vadimovski/obsidian_ai/blob/552f58d50551b16378e31e6dcdd22a62121b7a88/src/ui/feature-manage-modal.ts#L79)][[18](https://github.com/Vadimovski/obsidian_ai/blob/552f58d50551b16378e31e6dcdd22a62121b7a88/src/ui/feature-manage-modal.ts#L124)][[19](https://github.com/Vadimovski/obsidian_ai/blob/552f58d50551b16378e31e6dcdd22a62121b7a88/src/ui/feature-manage-modal.ts#L128)][[20](https://github.com/Vadimovski/obsidian_ai/blob/552f58d50551b16378e31e6dcdd22a62121b7a88/src/ui/feature-manage-modal.ts#L175)][[21](https://github.com/Vadimovski/obsidian_ai/blob/552f58d50551b16378e31e6dcdd22a62121b7a88/src/ui/feature-manage-modal.ts#L180)][[22](https://github.com/Vadimovski/obsidian_ai/blob/552f58d50551b16378e31e6dcdd22a62121b7a88/src/ui/feature-manage-modal.ts#L186)][[23](https://github.com/Vadimovski/obsidian_ai/blob/552f58d50551b16378e31e6dcdd22a62121b7a88/src/ui/feature-manage-modal.ts#L208)][[24](https://github.com/Vadimovski/obsidian_ai/blob/552f58d50551b16378e31e6dcdd22a62121b7a88/src/ui/feature-manage-modal.ts#L223)][[25](https://github.com/Vadimovski/obsidian_ai/blob/552f58d50551b16378e31e6dcdd22a62121b7a88/src/ui/feature-manage-modal.ts#L227)][[26](https://github.com/Vadimovski/obsidian_ai/blob/552f58d50551b16378e31e6dcdd22a62121b7a88/src/ui/feature-manage-modal.ts#L271)][[27](https://github.com/Vadimovski/obsidian_ai/blob/552f58d50551b16378e31e6dcdd22a62121b7a88/src/ui/feature-manage-modal.ts#L275)][[28](https://github.com/Vadimovski/obsidian_ai/blob/552f58d50551b16378e31e6dcdd22a62121b7a88/src/ui/feature-manage-modal.ts#L312)][[29](https://github.com/Vadimovski/obsidian_ai/blob/552f58d50551b16378e31e6dcdd22a62121b7a88/src/ui/feature-manage-modal.ts#L313)][[30](https://github.com/Vadimovski/obsidian_ai/blob/552f58d50551b16378e31e6dcdd22a62121b7a88/src/ui/feature-manage-modal.ts#L314)] and more :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.


[[1](https://github.com/Vadimovski/obsidian_ai/blob/552f58d50551b16378e31e6dcdd22a62121b7a88/src/ui/process-modal.ts#L268)][[2](https://github.com/Vadimovski/obsidian_ai/blob/552f58d50551b16378e31e6dcdd22a62121b7a88/src/ui/process-modal.ts#L293)][[3](https://github.com/Vadimovski/obsidian_ai/blob/552f58d50551b16378e31e6dcdd22a62121b7a88/src/ui/process-modal.ts#L326)][[4](https://github.com/Vadimovski/obsidian_ai/blob/552f58d50551b16378e31e6dcdd22a62121b7a88/src/ui/process-modal.ts#L333)][[5](https://github.com/Vadimovski/obsidian_ai/blob/552f58d50551b16378e31e6dcdd22a62121b7a88/src/ui/process-modal.ts#L339)]: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/Vadimovski/obsidian_ai/blob/552f58d50551b16378e31e6dcdd22a62121b7a88/src/helpers/markdownHandlers.ts#L73)][[2](https://github.com/Vadimovski/obsidian_ai/blob/552f58d50551b16378e31e6dcdd22a62121b7a88/src/helpers/markdownHandlers.ts#L82)][[3](https://github.com/Vadimovski/obsidian_ai/blob/552f58d50551b16378e31e6dcdd22a62121b7a88/src/helpers/markdownHandlers.ts#L112)][[4](https://github.com/Vadimovski/obsidian_ai/blob/552f58d50551b16378e31e6dcdd22a62121b7a88/src/helpers/markdownHandlers.ts#L113)][[5](https://github.com/Vadimovski/obsidian_ai/blob/552f58d50551b16378e31e6dcdd22a62121b7a88/src/helpers/markdownHandlers.ts#L119)][[6](https://github.com/Vadimovski/obsidian_ai/blob/552f58d50551b16378e31e6dcdd22a62121b7a88/src/helpers/markdownHandlers.ts#L124)][[7](https://github.com/Vadimovski/obsidian_ai/blob/552f58d50551b16378e31e6dcdd22a62121b7a88/src/helpers/markdownHandlers.ts#L131)][[8](https://github.com/Vadimovski/obsidian_ai/blob/552f58d50551b16378e31e6dcdd22a62121b7a88/src/helpers/markdownHandlers.ts#L141)][[9](https://github.com/Vadimovski/obsidian_ai/blob/552f58d50551b16378e31e6dcdd22a62121b7a88/src/helpers/markdownHandlers.ts#L143)][[10](https://github.com/Vadimovski/obsidian_ai/blob/552f58d50551b16378e31e6dcdd22a62121b7a88/src/helpers/markdownHandlers.ts#L160)][[11](https://github.com/Vadimovski/obsidian_ai/blob/552f58d50551b16378e31e6dcdd22a62121b7a88/src/helpers/markdownHandlers.ts#L165)][[12](https://github.com/Vadimovski/obsidian_ai/blob/552f58d50551b16378e31e6dcdd22a62121b7a88/src/helpers/markdownHandlers.ts#L169)][[13](https://github.com/Vadimovski/obsidian_ai/blob/552f58d50551b16378e31e6dcdd22a62121b7a88/src/helpers/markdownHandlers.ts#L171)][[14](https://github.com/Vadimovski/obsidian_ai/blob/552f58d50551b16378e31e6dcdd22a62121b7a88/src/helpers/markdownHandlers.ts#L175)][[15](https://github.com/Vadimovski/obsidian_ai/blob/552f58d50551b16378e31e6dcdd22a62121b7a88/src/helpers/markdownHandlers.ts#L198)][[16](https://github.com/Vadimovski/obsidian_ai/blob/552f58d50551b16378e31e6dcdd22a62121b7a88/src/helpers/markdownHandlers.ts#L223)][[17](https://github.com/Vadimovski/obsidian_ai/blob/552f58d50551b16378e31e6dcdd22a62121b7a88/src/helpers/markdownHandlers.ts#L245)][[18](https://github.com/Vadimovski/obsidian_ai/blob/552f58d50551b16378e31e6dcdd22a62121b7a88/src/helpers/markdownHandlers.ts#L252)][[19](https://github.com/Vadimovski/obsidian_ai/blob/552f58d50551b16378e31e6dcdd22a62121b7a88/src/helpers/markdownHandlers.ts#L256)][[20](https://github.com/Vadimovski/obsidian_ai/blob/552f58d50551b16378e31e6dcdd22a62121b7a88/src/helpers/markdownHandlers.ts#L267)][[21](https://github.com/Vadimovski/obsidian_ai/blob/552f58d50551b16378e31e6dcdd22a62121b7a88/src/helpers/markdownHandlers.ts#L303)][[22](https://github.com/Vadimovski/obsidian_ai/blob/552f58d50551b16378e31e6dcdd22a62121b7a88/src/helpers/markdownHandlers.ts#L307)][[23](https://github.com/Vadimovski/obsidian_ai/blob/552f58d50551b16378e31e6dcdd22a62121b7a88/src/helpers/markdownHandlers.ts#L313)][[24](https://github.com/Vadimovski/obsidian_ai/blob/552f58d50551b16378e31e6dcdd22a62121b7a88/src/helpers/markdownHandlers.ts#L317)][[25](https://github.com/Vadimovski/obsidian_ai/blob/552f58d50551b16378e31e6dcdd22a62121b7a88/src/helpers/markdownHandlers.ts#L322)][[26](https://github.com/Vadimovski/obsidian_ai/blob/552f58d50551b16378e31e6dcdd22a62121b7a88/src/helpers/markdownHandlers.ts#L326)][[27](https://github.com/Vadimovski/obsidian_ai/blob/552f58d50551b16378e31e6dcdd22a62121b7a88/src/helpers/markdownHandlers.ts#L327)][[28](https://github.com/Vadimovski/obsidian_ai/blob/552f58d50551b16378e31e6dcdd22a62121b7a88/src/helpers/markdownHandlers.ts#L328)][[29](https://github.com/Vadimovski/obsidian_ai/blob/552f58d50551b16378e31e6dcdd22a62121b7a88/src/helpers/markdownHandlers.ts#L334)][[30](https://github.com/Vadimovski/obsidian_ai/blob/552f58d50551b16378e31e6dcdd22a62121b7a88/src/helpers/markdownHandlers.ts#L336)] and more :You should consider limiting the number of `console.log`s in your code, to not pollute the dev console.



---

### Optional

[[1](https://github.com/Vadimovski/obsidian_ai/blob/552f58d50551b16378e31e6dcdd22a62121b7a88/src/ui/settings-page.ts#L101)][[2](https://github.com/Vadimovski/obsidian_ai/blob/552f58d50551b16378e31e6dcdd22a62121b7a88/src/ui/process-modal.ts#L758)][[3](https://github.com/Vadimovski/obsidian_ai/blob/552f58d50551b16378e31e6dcdd22a62121b7a88/src/ui/process-modal.ts#L825)][[4](https://github.com/Vadimovski/obsidian_ai/blob/552f58d50551b16378e31e6dcdd22a62121b7a88/src/helpers/markdownHandlers.ts#L100)][[5](https://github.com/Vadimovski/obsidian_ai/blob/552f58d50551b16378e31e6dcdd22a62121b7a88/src/helpers/markdownHandlers.ts#L101)][[6](https://github.com/Vadimovski/obsidian_ai/blob/552f58d50551b16378e31e6dcdd22a62121b7a88/src/helpers/markdownHandlers.ts#L289)][[7](https://github.com/Vadimovski/obsidian_ai/blob/552f58d50551b16378e31e6dcdd22a62121b7a88/src/helpers/markdownHandlers.ts#L290)][[8](https://github.com/Vadimovski/obsidian_ai/blob/552f58d50551b16378e31e6dcdd22a62121b7a88/src/helpers/markdownHandlers.ts#L566)][[9](https://github.com/Vadimovski/obsidian_ai/blob/552f58d50551b16378e31e6dcdd22a62121b7a88/src/helpers/markdownHandlers.ts#L567)][[10](https://github.com/Vadimovski/obsidian_ai/blob/552f58d50551b16378e31e6dcdd22a62121b7a88/src/helpers/markdownHandlers.ts#L728)][[11](https://github.com/Vadimovski/obsidian_ai/blob/552f58d50551b16378e31e6dcdd22a62121b7a88/src/helpers/markdownHandlers.ts#L729)]:Casting to `any` should be avoided as much as possible.



---



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.