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

### Required

[[1](https://github.com/ljcoder2015/obsidian-excel-plus/blob/74021a2bb3bbe7bf4636bb5b0d605b49ca651448/src/api.ts#L298)][[2](https://github.com/ljcoder2015/obsidian-excel-plus/blob/74021a2bb3bbe7bf4636bb5b0d605b49ca651448/src/api.ts#L306)][[3](https://github.com/ljcoder2015/obsidian-excel-plus/blob/74021a2bb3bbe7bf4636bb5b0d605b49ca651448/src/api.ts#L337)][[4](https://github.com/ljcoder2015/obsidian-excel-plus/blob/74021a2bb3bbe7bf4636bb5b0d605b49ca651448/src/api.ts#L356)][[5](https://github.com/ljcoder2015/obsidian-excel-plus/blob/74021a2bb3bbe7bf4636bb5b0d605b49ca651448/src/excel-pro-view.ts#L345)]: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/ljcoder2015/obsidian-excel-plus/blob/74021a2bb3bbe7bf4636bb5b0d605b49ca651448/src/utils/file-utils.ts#L34)]: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/ljcoder2015/obsidian-excel-plus/blob/74021a2bb3bbe7bf4636bb5b0d605b49ca651448/src/main.ts#L314)]:You should change all instances of `var` to either `const` or `let`. `var` has function-level scope, so it can easily lead to bugs if you're not careful. Here's a pretty good guide with examples of why not to use `var`: [why `var` is obsolete](https://javascript.plainenglish.io/4-reasons-why-var-is-considered-obsolete-in-modern-javascript-a30296b5f08f)

[[1](https://github.com/ljcoder2015/obsidian-excel-plus/blob/74021a2bb3bbe7bf4636bb5b0d605b49ca651448/src/api.ts#L88)][[2](https://github.com/ljcoder2015/obsidian-excel-plus/blob/74021a2bb3bbe7bf4636bb5b0d605b49ca651448/src/api.ts#L125)][[3](https://github.com/ljcoder2015/obsidian-excel-plus/blob/74021a2bb3bbe7bf4636bb5b0d605b49ca651448/src/api.ts#L142)][[4](https://github.com/ljcoder2015/obsidian-excel-plus/blob/74021a2bb3bbe7bf4636bb5b0d605b49ca651448/src/api.ts#L167)][[5](https://github.com/ljcoder2015/obsidian-excel-plus/blob/74021a2bb3bbe7bf4636bb5b0d605b49ca651448/src/api.ts#L304)][[6](https://github.com/ljcoder2015/obsidian-excel-plus/blob/74021a2bb3bbe7bf4636bb5b0d605b49ca651448/src/excel-pro-view.ts#L43)][[7](https://github.com/ljcoder2015/obsidian-excel-plus/blob/74021a2bb3bbe7bf4636bb5b0d605b49ca651448/src/excel-pro-view.ts#L81)][[8](https://github.com/ljcoder2015/obsidian-excel-plus/blob/74021a2bb3bbe7bf4636bb5b0d605b49ca651448/src/excel-pro-view.ts#L198)][[9](https://github.com/ljcoder2015/obsidian-excel-plus/blob/74021a2bb3bbe7bf4636bb5b0d605b49ca651448/src/excel-pro-view.ts#L241)][[10](https://github.com/ljcoder2015/obsidian-excel-plus/blob/74021a2bb3bbe7bf4636bb5b0d605b49ca651448/src/excel-pro-view.ts#L244)][[11](https://github.com/ljcoder2015/obsidian-excel-plus/blob/74021a2bb3bbe7bf4636bb5b0d605b49ca651448/src/excel-pro-view.ts#L316)][[12](https://github.com/ljcoder2015/obsidian-excel-plus/blob/74021a2bb3bbe7bf4636bb5b0d605b49ca651448/src/markdown-post-processor.ts#L205)][[13](https://github.com/ljcoder2015/obsidian-excel-plus/blob/74021a2bb3bbe7bf4636bb5b0d605b49ca651448/src/markdown-post-processor.ts#L234)][[14](https://github.com/ljcoder2015/obsidian-excel-plus/blob/74021a2bb3bbe7bf4636bb5b0d605b49ca651448/src/markdown-post-processor.ts#L309)][[15](https://github.com/ljcoder2015/obsidian-excel-plus/blob/74021a2bb3bbe7bf4636bb5b0d605b49ca651448/src/markdown-post-processor.ts#L324)][[16](https://github.com/ljcoder2015/obsidian-excel-plus/blob/74021a2bb3bbe7bf4636bb5b0d605b49ca651448/src/main.ts#L75)][[17](https://github.com/ljcoder2015/obsidian-excel-plus/blob/74021a2bb3bbe7bf4636bb5b0d605b49ca651448/src/main.ts#L109)][[18](https://github.com/ljcoder2015/obsidian-excel-plus/blob/74021a2bb3bbe7bf4636bb5b0d605b49ca651448/src/main.ts#L178)][[19](https://github.com/ljcoder2015/obsidian-excel-plus/blob/74021a2bb3bbe7bf4636bb5b0d605b49ca651448/src/main.ts#L199)]:You should consider limiting the number of `console.log`s in your code, to not pollute the dev console.



---



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.