Skip to content

Strangely truncated output in some circumstances #24

@HalosGhost

Description

@HalosGhost

I'm not clear on the specific trigger (because it happens in several circumstances), but below is a basic example showing a table-layouted page where only the last row is shown. This is triggerable even with a single row; the specific cause here seems to be the inclusion of the paragraphs following the title in each cell; removing them results in both headings in the cells rendering correctly.

Minimal Worked Example
<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width,initial-scale=1">
        <meta name="referer" content="never">
        <title>Minimal Worked Example</title>
    </head>
    <body id="main">
        <header><h1><a href="/">Main</a></h1></header>
        <main>
            <p>test</p>
            <table>
                <tr>
                    <td>
                        <h2><a href="#">Shortish title</a></h2>
                        <p>thing</p>
                    </td>
                </tr>
                <tr>
                    <td>
                        <h2><a href="#">Longish title to format differently</a></h2>
                        <p>test</p>
                    </td>
                </tr>
            </table>
        </main>
    </body>
</html>

For another example, see this blog post of mine (which does not use table layouting):

$ reader 'https://halosgho.st/blog/planck/'

This page is rendered rather beautifully by reader, but the whole footnotes section is elided.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions