diff options
author | Andy Pearce <andy@andy-pearce.com> | 2021-03-28 07:29:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-28 08:29:01 +0200 |
commit | 2095bd9f9b25821bd8e8770b165ceb9288763d29 (patch) | |
tree | a0c528687bc26401e1fba186e10e06b7214aa03e /tests/html_linenos_expected_output/table_cls_step_2_start_1_special_0_noanchor_nofilename.html | |
parent | 20b2012ffd8f524cf02ace971fef5578cafa8f24 (diff) | |
download | pygments-git-2095bd9f9b25821bd8e8770b165ceb9288763d29.tar.gz |
Filename to <th> if linenos=table (fixes #1757) (#1759)
* Filename to <th> if linenos=table (fixes #1757)
* Emit `<th>` for `filename` if `linenos=table`.
* Added test cases for filename inclusion.
* Updated CHANGES
Diffstat (limited to 'tests/html_linenos_expected_output/table_cls_step_2_start_1_special_0_noanchor_nofilename.html')
-rw-r--r-- | tests/html_linenos_expected_output/table_cls_step_2_start_1_special_0_noanchor_nofilename.html | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/html_linenos_expected_output/table_cls_step_2_start_1_special_0_noanchor_nofilename.html b/tests/html_linenos_expected_output/table_cls_step_2_start_1_special_0_noanchor_nofilename.html new file mode 100644 index 00000000..c343e4f9 --- /dev/null +++ b/tests/html_linenos_expected_output/table_cls_step_2_start_1_special_0_noanchor_nofilename.html @@ -0,0 +1,19 @@ +<table class="highlighttable"> + <tr> + <td class="linenos"> + <div class="linenodiv"> + <pre><span class="normal"> </span> +<span class="normal">2</span> +<span class="normal"> </span></pre> + </div> + </td> + <td class="code"> + <div class="highlight"> + <pre><span></span><span class="c1"># a</span> +<span class="c1"># b</span> +<span class="c1"># c</span> +</pre> + </div> + </td> + </tr> +</table>
\ No newline at end of file |