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

### Required

[[1](https://github.com/maigamo/daily-task-auto-generator/blob/cc0a41740dc72a60f019c813eafe79b3554b6feb/src/utils/domUtils.ts#L21)][[2](https://github.com/maigamo/daily-task-auto-generator/blob/cc0a41740dc72a60f019c813eafe79b3554b6feb/src/settings/settings.ts#L302)]: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/maigamo/daily-task-auto-generator/blob/cc0a41740dc72a60f019c813eafe79b3554b6feb/src/settings/settings.ts#L142)][[2](https://github.com/maigamo/daily-task-auto-generator/blob/cc0a41740dc72a60f019c813eafe79b3554b6feb/src/settings/settings.ts#L144)][[3](https://github.com/maigamo/daily-task-auto-generator/blob/cc0a41740dc72a60f019c813eafe79b3554b6feb/src/settings/settings.ts#L173)][[4](https://github.com/maigamo/daily-task-auto-generator/blob/cc0a41740dc72a60f019c813eafe79b3554b6feb/src/settings/settings.ts#L315)][[5](https://github.com/maigamo/daily-task-auto-generator/blob/cc0a41740dc72a60f019c813eafe79b3554b6feb/src/settings/settings.ts#L520)][[6](https://github.com/maigamo/daily-task-auto-generator/blob/cc0a41740dc72a60f019c813eafe79b3554b6feb/src/settings/settings.ts#L521)][[7](https://github.com/maigamo/daily-task-auto-generator/blob/cc0a41740dc72a60f019c813eafe79b3554b6feb/src/settings/settings.ts#L524)]: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.




---

### Optional

[[1](https://github.com/maigamo/daily-task-auto-generator/blob/cc0a41740dc72a60f019c813eafe79b3554b6feb/src/settings/settings.ts#L64)][[2](https://github.com/maigamo/daily-task-auto-generator/blob/cc0a41740dc72a60f019c813eafe79b3554b6feb/src/settings/settings.ts#L569)][[3](https://github.com/maigamo/daily-task-auto-generator/blob/cc0a41740dc72a60f019c813eafe79b3554b6feb/src/settings/settings.ts#L576)][[4](https://github.com/maigamo/daily-task-auto-generator/blob/cc0a41740dc72a60f019c813eafe79b3554b6feb/src/settings/settings.ts#L606)]: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.