File: wrap_tables.html

package info (click to toggle)
python-html2text 2025.4.15-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 976 kB
  • sloc: python: 1,659; sh: 32; makefile: 5
file content (12 lines) | stat: -rw-r--r-- 817 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
<!DOCTYPE html> <html>
    <head lang="en"> <meta charset="UTF-8"> <title></title> </head>
    <body> <h1>This is a test document</h1> With some text, <code>code</code>, <b>bolds</b> and <i>italics</i>.  <h2>This is second header</h2> <p style="display: none">Displaynone text</p> 
    <table>
        <tr> <th>Header 1</th> <th>Header 2</th> <th>Header 3</th> </tr>
        <tr> <td>Content 1</td> <td>2</td> <td><img src="http://lorempixel.com/200/200" alt="200"/> Image!</td> </tr>
        <tr> <td>Content 1 longer</td> <td>Content 2</td> <td>Here is some really long text that will wrap to the next line. Because it's so long.</td> </tr>
        <tr> <td>Content </td> <td>Content 2</td> <td>blah</td> </tr>
        <tr> <td>t </td> <td>Content 2</td> <td>blah blah blah</td> </tr>
    </table>

</body> </html>