Fixes an issue with pull request https://github.com/blacklanternsecurity/writehat/pull/91 where the datatable search function was being applied to every other datatable on the page, regardless of it being the intended table. A check is now made that the reports table filter logic only happens for tables with id=reports.
Report CSS fixes file
A css file has been added to the report template that adds css elements specifically for the purpose of making handling weird edge cases or formatting issues. This is more of a band-aid than anything, but you do what you must. these can be inserted into markdown content as html tags like so:
<span class="fix-thing">some content</span>
It is not necessary to use a span tag, it is just used for demonstration purposes.
Summary
Report Tables Filter Fixed
Fixes an issue with pull request https://github.com/blacklanternsecurity/writehat/pull/91 where the datatable search function was being applied to every other datatable on the page, regardless of it being the intended table. A check is now made that the reports table filter logic only happens for tables with
id=reports
.Report CSS fixes file
A css file has been added to the report template that adds css elements specifically for the purpose of making handling weird edge cases or formatting issues. This is more of a band-aid than anything, but you do what you must. these can be inserted into markdown content as html tags like so:
<span class="fix-thing">some content</span>
It is not necessary to use a span tag, it is just used for demonstration purposes.