WordPress.org

Forums

TablePress
[resolved] Unable to Import Table (2 posts)

  1. edharris99
    Member
    Posted 8 months ago #

    I have a relatively simple table that I can't import. It displays a parsing error at line 10 column 29. Here is the HTML:

    <!doctype html>
    <html>
    <head>
    <meta charset="UTF-8">
    <title>Untitled Document</title>
    <style type="text/css">
     table td {
    	padding: 0px 8px 0px 8px;
    	border-color: #104E8B;
    }
    </style>
    </head>
    
    <body>
    <table border="1"  cellspacing="0"  width="700" >
        <tbody>
            <tr bgcolor="#104E8B" >
    
                <td width="312">
                    <p>
                        <font color="white"><strong>Item</strong></font>
                    </p>
                </td>
                <td width="250" " valign="top">
                    <p>
                        <font color="white"><strong>Sub-Item(s)</strong></font>
                    </p>
                </td>
                <td  valign="top">
                    <p align="center">
                        <font color="white"><strong>Weight </strong></font>
                    </p>
                </td>
    
            </tr>
            <tr bgcolor="#d3dfed">
                <td width="212"  valign="top">
                    <p>
                        Skin thickening of the fingers of both hands that extends at least up to the joint at the base of the fingers (third joint on fingers,
                        second joint on thumb)
    
                        <strong>(sufficient criterion)</strong>
                    </p>
                </td>
                <td width="167" valign="top">
                </td>
                <td width="59" valign="top">
                    <p align="center">
                        9
                    </p>
                </td>
            </tr>
            <tr>
                <td width="212" rowspan="2" valign="top">
                    <p>
                        Skin thickening of the fingers
    
                        (only count the higher score)
                    </p>
                </td>
                <td width="167" valign="top">
                    <p>
                        Puffy fingers
                    </p>
                </td>
                <td width="59" valign="top">
                    <p align="center">
                        2
                    </p>
                </td>
            </tr>
            <tr>
                <td width="167" valign="top">
                    <p>
                        Thickening of the fingers up to the second finger joint
                    </p>
                </td>
                <td width="59" valign="top">
                    <p align="center">
                        4
                    </p>
                </td>
            </tr>
            <tr bgcolor="#d3dfed">
                <td width="212" rowspan="2" valign="top">
                    <p>
                        Fingertip lesions
    
                        (only count the higher score)
                    </p>
                </td>
                <td width="167" valign="top">
                    <p>
                        Digital tip ulcers
                    </p>
                </td>
                <td width="59" valign="top">
                    <p align="center">
                        2
                    </p>
                </td>
            </tr>
            <tr bgcolor="#d3dfed">
                <td width="167" valign="top">
                    <p>
                        Fingertip pitting scars
                    </p>
                </td>
                <td width="59" valign="top">
                    <p align="center">
                        3
                    </p>
                </td>
            </tr>
            <tr>
                <td width="212" valign="top">
                    <p>
                        Telangiectasia
                    </p>
                </td>
                <td width="167" valign="top">
                </td>
                <td width="59" valign="top">
                    <p align="center">
                        2
                    </p>
                </td>
            </tr>
            <tr bgcolor="#d3dfed">
                <td width="212" valign="top">
                    <p>
                        Abnormal nailfold capillaries
                    </p>
                </td>
                <td width="167" valign="top">
                </td>
                <td width="59" valign="top">
                    <p align="center">
                        2
                    </p>
                </td>
            </tr>
            <tr>
                <td width="212" rowspan="2" valign="top">
                    <p>
                        Pulmonary arterial hypertension and/or interstitial lung disease
    
                    </p>
                    <p>
                        (maximum score is 2)
                    </p>
                </td>
                <td width="167" valign="top">
                    <p>
                        Pulmonary arterial hypertension
                    </p>
                </td>
                <td width="59" valign="top">
                    <p align="center">
                        2
                    </p>
                </td>
            </tr>
            <tr>
                <td width="167" valign="top">
                    <p>
                        Interstitial lung disease
                    </p>
                </td>
                <td width="59" valign="top">
                    <p align="center">
                        2
                    </p>
                </td>
            <tr bgcolor="#d3dfed">
            <tr bgcolor="#d3dfed">
                <td width="212" valign="top">
                    <p>
                        Raynaud’s phenomenon (can be self-reported)
                    </p>
                </td>
                <td width="167" valign="top">
                </td>
                <td width="59" valign="top">
                    <p align="center">
                        3
                    </p>
                </td>
            </tr>
            <tr>
                <td width="212" valign="top">
                    <p>
                        Scleroderma-related autoantibodies
    
                    </p>
                    <p>
                        (maximum score is 3)
                    </p>
                </td>
                <td width="167" valign="top">
                    <p>
                        Anti-centromere
                    </p>
                    <p>
                        Anti-Scl-70 (Anti–topoisomerase I)
                    </p>
                    <p>
                        Anti–RNA polymerase III
                    </p>
                </td>
                <td width="59" valign="top">
                    <p align="center">
                        3
                    </p>
                </td>
            </tr>
        </tbody>
    </table>
    
    <p align="center"> </p>
    <h3>
    </h3>
    
    </body>
    </html>

    [Moderator Note: Please post code or markup between backticks or use the code button. Or better still - use a pastebin. Your posted code may now have been permanently damaged by the forum's parser.]

    https://wordpress.org/plugins/tablepress/

  2. TobiasBg
    Member
    Plugin Author

    Posted 8 months ago #

    Hi,

    thanks for your post, and sorry for the trouble.

    The problem is the line

    <td width="250" " valign="top">

    There's an extra " that breaks the import. Can you check if that's in your source file as well?

    Regards,
    Tobias

Reply

You must log in to post.

About this Plugin

About this Topic

Tags