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

### Required

[[1](https://github.com/trevware/obsidian-sidebar-highlights/blob/81ee21deb64365f4cc7eb862f1fc4b432e920b01/src/managers/dropdown-manager.ts#L153)][[2](https://github.com/trevware/obsidian-sidebar-highlights/blob/81ee21deb64365f4cc7eb862f1fc4b432e920b01/src/managers/dropdown-manager.ts#L154)][[3](https://github.com/trevware/obsidian-sidebar-highlights/blob/81ee21deb64365f4cc7eb862f1fc4b432e920b01/src/managers/dropdown-manager.ts#L158)][[4](https://github.com/trevware/obsidian-sidebar-highlights/blob/81ee21deb64365f4cc7eb862f1fc4b432e920b01/src/managers/dropdown-manager.ts#L159)][[5](https://github.com/trevware/obsidian-sidebar-highlights/blob/81ee21deb64365f4cc7eb862f1fc4b432e920b01/src/managers/dropdown-manager.ts#L171)][[6](https://github.com/trevware/obsidian-sidebar-highlights/blob/81ee21deb64365f4cc7eb862f1fc4b432e920b01/src/managers/dropdown-manager.ts#L172)][[7](https://github.com/trevware/obsidian-sidebar-highlights/blob/81ee21deb64365f4cc7eb862f1fc4b432e920b01/src/managers/dropdown-manager.ts#L173)][[8](https://github.com/trevware/obsidian-sidebar-highlights/blob/81ee21deb64365f4cc7eb862f1fc4b432e920b01/src/managers/dropdown-manager.ts#L174)][[9](https://github.com/trevware/obsidian-sidebar-highlights/blob/81ee21deb64365f4cc7eb862f1fc4b432e920b01/src/renderers/highlight-renderer.ts#L46)][[10](https://github.com/trevware/obsidian-sidebar-highlights/blob/81ee21deb64365f4cc7eb862f1fc4b432e920b01/src/renderers/highlight-renderer.ts#L49)][[11](https://github.com/trevware/obsidian-sidebar-highlights/blob/81ee21deb64365f4cc7eb862f1fc4b432e920b01/src/views/sidebar-view.ts#L907)][[12](https://github.com/trevware/obsidian-sidebar-highlights/blob/81ee21deb64365f4cc7eb862f1fc4b432e920b01/src/views/sidebar-view.ts#L916)][[13](https://github.com/trevware/obsidian-sidebar-highlights/blob/81ee21deb64365f4cc7eb862f1fc4b432e920b01/main.ts#L202)][[14](https://github.com/trevware/obsidian-sidebar-highlights/blob/81ee21deb64365f4cc7eb862f1fc4b432e920b01/main.ts#L209)][[15](https://github.com/trevware/obsidian-sidebar-highlights/blob/81ee21deb64365f4cc7eb862f1fc4b432e920b01/main.ts#L218)]: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/trevware/obsidian-sidebar-highlights/blob/81ee21deb64365f4cc7eb862f1fc4b432e920b01/src/managers/dropdown-manager.ts#L199)][[2](https://github.com/trevware/obsidian-sidebar-highlights/blob/81ee21deb64365f4cc7eb862f1fc4b432e920b01/src/renderers/highlight-renderer.ts#L57)][[3](https://github.com/trevware/obsidian-sidebar-highlights/blob/81ee21deb64365f4cc7eb862f1fc4b432e920b01/src/renderers/highlight-renderer.ts#L188)]: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/trevware/obsidian-sidebar-highlights/blob/81ee21deb64365f4cc7eb862f1fc4b432e920b01/src/renderers/highlight-renderer.ts#L289)][[2](https://github.com/trevware/obsidian-sidebar-highlights/blob/81ee21deb64365f4cc7eb862f1fc4b432e920b01/src/renderers/highlight-renderer.ts#L290)]:Lookbehinds are not supported in iOS versions before 16.4

[[1](https://github.com/trevware/obsidian-sidebar-highlights/blob/81ee21deb64365f4cc7eb862f1fc4b432e920b01/main.ts#L312)][[2](https://github.com/trevware/obsidian-sidebar-highlights/blob/81ee21deb64365f4cc7eb862f1fc4b432e920b01/main.ts#L340)]:Adding `command` to the command ID is not necessary, please remove it.

[[1](https://github.com/trevware/obsidian-sidebar-highlights/blob/81ee21deb64365f4cc7eb862f1fc4b432e920b01/main.ts#L182)][[2](https://github.com/trevware/obsidian-sidebar-highlights/blob/81ee21deb64365f4cc7eb862f1fc4b432e920b01/main.ts#L451)][[3](https://github.com/trevware/obsidian-sidebar-highlights/blob/81ee21deb64365f4cc7eb862f1fc4b432e920b01/main.ts#L467)][[4](https://github.com/trevware/obsidian-sidebar-highlights/blob/81ee21deb64365f4cc7eb862f1fc4b432e920b01/main.ts#L491)][[5](https://github.com/trevware/obsidian-sidebar-highlights/blob/81ee21deb64365f4cc7eb862f1fc4b432e920b01/main.ts#L501)][[6](https://github.com/trevware/obsidian-sidebar-highlights/blob/81ee21deb64365f4cc7eb862f1fc4b432e920b01/main.ts#L611)][[7](https://github.com/trevware/obsidian-sidebar-highlights/blob/81ee21deb64365f4cc7eb862f1fc4b432e920b01/main.ts#L623)][[8](https://github.com/trevware/obsidian-sidebar-highlights/blob/81ee21deb64365f4cc7eb862f1fc4b432e920b01/main.ts#L654)][[9](https://github.com/trevware/obsidian-sidebar-highlights/blob/81ee21deb64365f4cc7eb862f1fc4b432e920b01/main.ts#L658)][[10](https://github.com/trevware/obsidian-sidebar-highlights/blob/81ee21deb64365f4cc7eb862f1fc4b432e920b01/main.ts#L677)][[11](https://github.com/trevware/obsidian-sidebar-highlights/blob/81ee21deb64365f4cc7eb862f1fc4b432e920b01/main.ts#L686)][[12](https://github.com/trevware/obsidian-sidebar-highlights/blob/81ee21deb64365f4cc7eb862f1fc4b432e920b01/main.ts#L689)]:You should consider limiting the number of `console.log`s in your code, to not pollute the dev console.



---

### Optional

[[1](https://github.com/trevware/obsidian-sidebar-highlights/blob/81ee21deb64365f4cc7eb862f1fc4b432e920b01/src/views/sidebar-view.ts#L836)]: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.