Skip to content

Comments

Cleanup html table output#17

Open
8ctopus wants to merge 2 commits intopaxal:masterfrom
8ctopus:cleanup-html-table
Open

Cleanup html table output#17
8ctopus wants to merge 2 commits intopaxal:masterfrom
8ctopus:cleanup-html-table

Conversation

@8ctopus
Copy link

@8ctopus 8ctopus commented Dec 13, 2024

without this commit, the tables look like this

<table class="stats-table">
    <thead>
    <tr>
                    <th class="stats-table-name">
                                    Name
                                </th>
                    <th class="stats-table-age">
                                    Age
                                </th>
            </tr>
    </thead>
    <tbody>
            <tr>
                            <td class="stats-table-name">Pierre</td>
                            <td class="stats-table-age">32</td>
                    </tr>
            <tr>
                            <td class="stats-table-name">Jacques</td>
                            <td class="stats-table-age">28</td>
                    </tr>
            <tr>
                            <td class="stats-table-name">Jean</td>
                            <td class="stats-table-age">32</td>
                    </tr>
            <tr>
                            <td class="stats-table-name">Paul</td>
                            <td class="stats-table-age">25</td>
                    </tr>
        </tbody>

    <tfoot>
    <tr>
                    <th class="stats-table-age">integer</th>
            </tr>
    </tfoot>
</table>

with the commit:

<table class="stats-table">
    <thead>
    <tr>
        <th class="stats-table-name">
            Name
        </th>
        <th class="stats-table-age">
            Age
        </th>
    </tr>
    </thead>
    <tbody>
        <tr>
            <td class="stats-table-name">Pierre</td>
            <td class="stats-table-age">32</td>
        </tr>
        <tr>
            <td class="stats-table-name">Jacques</td>
            <td class="stats-table-age">28</td>
        </tr>
        <tr>
            <td class="stats-table-name">Jean</td>
            <td class="stats-table-age">32</td>
        </tr>
        <tr>
            <td class="stats-table-name">Paul</td>
            <td class="stats-table-age">25</td>
        </tr>
    </tbody>
    <tfoot>
    <tr>
        <th class="stats-table-age">integer</th>
    </tr>
    </tfoot>
</table>

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

Successfully merging this pull request may close these issues.

1 participant