Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

metrics.generateReportMarkdown() creates "invalid" table-markdown #7

Closed
MielkeDaniel opened this issue Aug 3, 2022 · 1 comment
Closed

Comments

@MielkeDaniel
Copy link

The table header should be split from the tableb body using hyphens instead of equal signs.
Currently it creates something like this:

| Type | File   | Logic Contracts | Interfaces | Lines | nLines | nSLOC | Comment Lines | Complex. Score | Capabilities |
|========|=================|============|=======|=======|===============|==============|  

while it should look like this:

| Type | File   |  Logic Contracts | Interfaces | Lines | nLines  | nSLOC | Comment Lines | Complex. Score | Capabilities                                                                                                                                                    |
| ---- | ------------------ | ---------- | -------- | -------- | -------- | ------- | ---------- | ----------- | ---------- |

This error right now results in the table not being dispalyed correctly in the .md or it also can´t be converted into html.

@tintinweb
Copy link
Member

fixed. even had the wrong column count 🤦 thanks @MielkeDaniel 🙌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants