Extra > character before the table?

Extra > character before the table?

bluedragonbluedragon Posts: 2Questions: 0Answers: 0

I recently used the awesome datatables script for a tool but it seems that an extra > character is being added before the table.

You can see this happening here:

https://bluedragon555.github.io/onz-pool-payouts

In my code there seems to be no additional character so i think that it is probably added by datatables accidentally.

Any idea how i could remove that?

Replies

  • allanallan Posts: 63,455Questions: 1Answers: 10,465 Site admin

    In your HTML for one of the rows you have:

                <tr>
                  <td>waterworld</td>
                  <td>86%</td>
                  <td>Weekly</td>
                  <td>1</td>
                  <td><span class="label label-success" id="mbh">Yes</span></td>>
                  <td>Goldpool</td>
                </tr>
    

    Note the "spare" > at the end of the span cell.

    The W3C validator is useful for finding HTML errors like this.

    Allan

  • bluedragonbluedragon Posts: 2Questions: 0Answers: 0

    Thank you for the help, this seems to sort everything.

This discussion has been closed.