[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: * tp/Makefile.tres, tp/t/html_tests.t (anchor_on_
From: |
Patrice Dumas |
Subject: |
branch master updated: * tp/Makefile.tres, tp/t/html_tests.t (anchor_on_vtable_item): add test with @anchor on @vtable @item line. Based on a report of Georg-Johann Lay. |
Date: |
Mon, 18 Mar 2024 15:04:41 -0400 |
This is an automated email from the git hooks/post-receive script.
pertusus pushed a commit to branch master
in repository texinfo.
The following commit(s) were added to refs/heads/master by this push:
new 1edc34c9b4 * tp/Makefile.tres, tp/t/html_tests.t
(anchor_on_vtable_item): add test with @anchor on @vtable @item line. Based on
a report of Georg-Johann Lay.
1edc34c9b4 is described below
commit 1edc34c9b46b4adaeb57e27fa9c3b8d04a23e83a
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Mon Mar 18 20:03:47 2024 +0100
* tp/Makefile.tres, tp/t/html_tests.t (anchor_on_vtable_item): add
test with @anchor on @vtable @item line. Based on a report of
Georg-Johann Lay.
---
ChangeLog | 6 +
tp/Makefile.tres | 1 +
tp/t/html_tests.t | 30 +
tp/t/results/html_tests/anchor_on_vtable_item.pl | 907 +++++++++++++++++++++++
4 files changed, 944 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index 179cecfa87..98cedbdd70 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2024-03-18 Patrice Dumas <pertusus@free.fr>
+
+ * tp/Makefile.tres, tp/t/html_tests.t (anchor_on_vtable_item): add
+ test with @anchor on @vtable @item line. Based on a report of
+ Georg-Johann Lay.
+
2024-03-17 Patrice Dumas <pertusus@free.fr>
* doc/texi2any_api.texi: use $converter instead of $self.
diff --git a/tp/Makefile.tres b/tp/Makefile.tres
index 79fe542f0f..00e4f2a9ea 100644
--- a/tp/Makefile.tres
+++ b/tp/Makefile.tres
@@ -546,6 +546,7 @@ test_files_generated_list =
$(test_tap_files_generated_list) \
t/results/heading/heading_in_quotation.pl \
t/results/html_tests/U_in_index.pl \
t/results/html_tests/acronym_in_node_and_section.pl \
+ t/results/html_tests/anchor_on_vtable_item.pl \
t/results/html_tests/automatic_menus.pl \
t/results/html_tests/base_for_css_info_in_init_test.pl \
t/results/html_tests/base_for_css_info_in_init_test/res_html \
diff --git a/tp/t/html_tests.t b/tp/t/html_tests.t
index 4160f6f968..ce67f7c359 100644
--- a/tp/t/html_tests.t
+++ b/tp/t/html_tests.t
@@ -602,6 +602,36 @@ in <b>html</b> in copying ``
@node Top
@top top
+'],
+# the output has nested <a> in @printindex formatting for @item
+# with @anchor on the line, which is invalid HTML. However, it
+# is probably better not to consider this output to be a bug as
+# it corresponds to the Texinfo code intention.
+['anchor_on_vtable_item',
+'@node Top
+@top top
+
+@node chap
+@chapter Chap
+
+@vtable @code
+
+@item @anchor{label1}label1
+Text1
+
+@item @anchor{label2} label2
+Text2
+
+@item lab3
+
+@end vtable
+
+@node Idx
+@chapter Idx
+
+@printindex vr
+
+@xref{label1}.
'],
['headings_after_lone_nodes',
'@node Top
diff --git a/tp/t/results/html_tests/anchor_on_vtable_item.pl
b/tp/t/results/html_tests/anchor_on_vtable_item.pl
new file mode 100644
index 0000000000..d2fef787c5
--- /dev/null
+++ b/tp/t/results/html_tests/anchor_on_vtable_item.pl
@@ -0,0 +1,907 @@
+use vars qw(%result_texis %result_texts %result_trees %result_errors
+ %result_indices %result_sectioning %result_nodes %result_menus
+ %result_floats %result_converted %result_converted_errors
+ %result_elements %result_directions_text %result_indices_sort_strings);
+
+use utf8;
+
+$result_trees{'anchor_on_vtable_item'} = {
+ 'contents' => [
+ {
+ 'type' => 'before_node_section'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'Top'
+ }
+ ],
+ 'info' => {
+ 'spaces_after_argument' => {
+ 'text' => '
+'
+ }
+ },
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'is_target' => 1,
+ 'normalized' => 'Top'
+ },
+ 'info' => {
+ 'spaces_before_argument' => {
+ 'text' => ' '
+ }
+ },
+ 'source_info' => {
+ 'line_nr' => 1
+ }
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'top'
+ }
+ ],
+ 'info' => {
+ 'spaces_after_argument' => {
+ 'text' => '
+'
+ }
+ },
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'top',
+ 'contents' => [
+ {
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ }
+ ],
+ 'extra' => {},
+ 'info' => {
+ 'spaces_before_argument' => {
+ 'text' => ' '
+ }
+ },
+ 'source_info' => {
+ 'line_nr' => 2
+ }
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'chap'
+ }
+ ],
+ 'info' => {
+ 'spaces_after_argument' => {
+ 'text' => '
+'
+ }
+ },
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'is_target' => 1,
+ 'normalized' => 'chap'
+ },
+ 'info' => {
+ 'spaces_before_argument' => {
+ 'text' => ' '
+ }
+ },
+ 'source_info' => {
+ 'line_nr' => 4
+ }
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'Chap'
+ }
+ ],
+ 'info' => {
+ 'spaces_after_argument' => {
+ 'text' => '
+'
+ }
+ },
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'chapter',
+ 'contents' => [
+ {
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'cmdname' => 'code',
+ 'source_info' => {
+ 'line_nr' => 7
+ },
+ 'type' => 'command_as_argument'
+ }
+ ],
+ 'info' => {
+ 'spaces_after_argument' => {
+ 'text' => '
+'
+ }
+ },
+ 'type' => 'block_line_arg'
+ }
+ ],
+ 'cmdname' => 'vtable',
+ 'contents' => [
+ {
+ 'contents' => [
+ {
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ }
+ ],
+ 'type' => 'before_item'
+ },
+ {
+ 'contents' => [
+ {
+ 'contents' => [
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'label1'
+ }
+ ],
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'anchor',
+ 'extra' => {
+ 'is_target' => 1,
+ 'normalized' => 'label1'
+ },
+ 'source_info' => {
+ 'line_nr' => 9
+ }
+ },
+ {
+ 'text' => 'label1'
+ }
+ ],
+ 'info' => {
+ 'spaces_after_argument' => {
+ 'text' => '
+'
+ }
+ },
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'item',
+ 'extra' => {
+ 'element_node' => {},
+ 'index_entry' => [
+ 'vr',
+ 1
+ ]
+ },
+ 'info' => {
+ 'spaces_before_argument' => {
+ 'text' => ' '
+ }
+ },
+ 'source_info' => {
+ 'line_nr' => 9
+ }
+ }
+ ],
+ 'type' => 'table_term'
+ },
+ {
+ 'contents' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'Text1
+'
+ }
+ ],
+ 'type' => 'paragraph'
+ },
+ {
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ }
+ ],
+ 'type' => 'table_definition'
+ }
+ ],
+ 'type' => 'table_entry'
+ },
+ {
+ 'contents' => [
+ {
+ 'contents' => [
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'label2'
+ }
+ ],
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'anchor',
+ 'extra' => {
+ 'is_target' => 1,
+ 'normalized' => 'label2'
+ },
+ 'source_info' => {
+ 'line_nr' => 12
+ }
+ },
+ {
+ 'text' => ' ',
+ 'type' => 'spaces_after_close_brace'
+ },
+ {
+ 'text' => 'label2'
+ }
+ ],
+ 'info' => {
+ 'spaces_after_argument' => {
+ 'text' => '
+'
+ }
+ },
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'item',
+ 'extra' => {
+ 'element_node' => {},
+ 'index_entry' => [
+ 'vr',
+ 2
+ ]
+ },
+ 'info' => {
+ 'spaces_before_argument' => {
+ 'text' => ' '
+ }
+ },
+ 'source_info' => {
+ 'line_nr' => 12
+ }
+ }
+ ],
+ 'type' => 'table_term'
+ },
+ {
+ 'contents' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'Text2
+'
+ }
+ ],
+ 'type' => 'paragraph'
+ },
+ {
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ }
+ ],
+ 'type' => 'table_definition'
+ }
+ ],
+ 'type' => 'table_entry'
+ },
+ {
+ 'contents' => [
+ {
+ 'contents' => [
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'lab3'
+ }
+ ],
+ 'info' => {
+ 'spaces_after_argument' => {
+ 'text' => '
+'
+ }
+ },
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'item',
+ 'extra' => {
+ 'element_node' => {},
+ 'index_entry' => [
+ 'vr',
+ 3
+ ]
+ },
+ 'info' => {
+ 'spaces_before_argument' => {
+ 'text' => ' '
+ }
+ },
+ 'source_info' => {
+ 'line_nr' => 15
+ }
+ }
+ ],
+ 'type' => 'table_term'
+ },
+ {
+ 'contents' => [
+ {
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ }
+ ],
+ 'type' => 'table_definition'
+ }
+ ],
+ 'type' => 'table_entry'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'vtable'
+ }
+ ],
+ 'info' => {
+ 'spaces_after_argument' => {
+ 'text' => '
+'
+ }
+ },
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'end',
+ 'extra' => {
+ 'text_arg' => 'vtable'
+ },
+ 'info' => {
+ 'spaces_before_argument' => {
+ 'text' => ' '
+ }
+ },
+ 'source_info' => {
+ 'line_nr' => 17
+ }
+ }
+ ],
+ 'extra' => {
+ 'command_as_argument' => {}
+ },
+ 'info' => {
+ 'spaces_before_argument' => {
+ 'text' => ' '
+ }
+ },
+ 'source_info' => {
+ 'line_nr' => 7
+ }
+ },
+ {
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ }
+ ],
+ 'extra' => {
+ 'section_number' => '1'
+ },
+ 'info' => {
+ 'spaces_before_argument' => {
+ 'text' => ' '
+ }
+ },
+ 'source_info' => {
+ 'line_nr' => 5
+ }
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'Idx'
+ }
+ ],
+ 'info' => {
+ 'spaces_after_argument' => {
+ 'text' => '
+'
+ }
+ },
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'is_target' => 1,
+ 'isindex' => 1,
+ 'normalized' => 'Idx'
+ },
+ 'info' => {
+ 'spaces_before_argument' => {
+ 'text' => ' '
+ }
+ },
+ 'source_info' => {
+ 'line_nr' => 19
+ }
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'Idx'
+ }
+ ],
+ 'info' => {
+ 'spaces_after_argument' => {
+ 'text' => '
+'
+ }
+ },
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'chapter',
+ 'contents' => [
+ {
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'vr'
+ }
+ ],
+ 'info' => {
+ 'spaces_after_argument' => {
+ 'text' => '
+'
+ }
+ },
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'printindex',
+ 'extra' => {
+ 'misc_args' => [
+ 'vr'
+ ]
+ },
+ 'info' => {
+ 'spaces_before_argument' => {
+ 'text' => ' '
+ }
+ },
+ 'source_info' => {
+ 'line_nr' => 22
+ }
+ },
+ {
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'contents' => [
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'label1'
+ }
+ ],
+ 'extra' => {
+ 'node_content' => {
+ 'contents' => [
+ {}
+ ]
+ },
+ 'normalized' => 'label1'
+ },
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'xref',
+ 'source_info' => {
+ 'line_nr' => 24
+ }
+ },
+ {
+ 'text' => '.
+'
+ }
+ ],
+ 'type' => 'paragraph'
+ }
+ ],
+ 'extra' => {
+ 'section_number' => '2'
+ },
+ 'info' => {
+ 'spaces_before_argument' => {
+ 'text' => ' '
+ }
+ },
+ 'source_info' => {
+ 'line_nr' => 20
+ }
+ }
+ ],
+ 'type' => 'document_root'
+};
+$result_trees{'anchor_on_vtable_item'}{'contents'}[4]{'contents'}[1]{'contents'}[1]{'contents'}[0]{'contents'}[0]{'extra'}{'element_node'}
= $result_trees{'anchor_on_vtable_item'}{'contents'}[3];
+$result_trees{'anchor_on_vtable_item'}{'contents'}[4]{'contents'}[1]{'contents'}[2]{'contents'}[0]{'contents'}[0]{'extra'}{'element_node'}
= $result_trees{'anchor_on_vtable_item'}{'contents'}[3];
+$result_trees{'anchor_on_vtable_item'}{'contents'}[4]{'contents'}[1]{'contents'}[3]{'contents'}[0]{'contents'}[0]{'extra'}{'element_node'}
= $result_trees{'anchor_on_vtable_item'}{'contents'}[3];
+$result_trees{'anchor_on_vtable_item'}{'contents'}[4]{'contents'}[1]{'extra'}{'command_as_argument'}
=
$result_trees{'anchor_on_vtable_item'}{'contents'}[4]{'contents'}[1]{'args'}[0]{'contents'}[0];
+$result_trees{'anchor_on_vtable_item'}{'contents'}[6]{'contents'}[3]{'contents'}[0]{'args'}[0]{'extra'}{'node_content'}{'contents'}[0]
=
$result_trees{'anchor_on_vtable_item'}{'contents'}[6]{'contents'}[3]{'contents'}[0]{'args'}[0]{'contents'}[0];
+
+$result_texis{'anchor_on_vtable_item'} = '@node Top
+@top top
+
+@node chap
+@chapter Chap
+
+@vtable @code
+
+@item @anchor{label1}label1
+Text1
+
+@item @anchor{label2} label2
+Text2
+
+@item lab3
+
+@end vtable
+
+@node Idx
+@chapter Idx
+
+@printindex vr
+
+@xref{label1}.
+';
+
+
+$result_texts{'anchor_on_vtable_item'} = 'top
+***
+
+1 Chap
+******
+
+
+label1
+Text1
+
+label2
+Text2
+
+lab3
+
+
+2 Idx
+*****
+
+
+label1.
+';
+
+$result_sectioning{'anchor_on_vtable_item'} = {
+ 'extra' => {
+ 'section_childs' => [
+ {
+ 'cmdname' => 'top',
+ 'extra' => {
+ 'associated_node' => {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'Top'
+ }
+ },
+ 'section_childs' => [
+ {
+ 'cmdname' => 'chapter',
+ 'extra' => {
+ 'associated_node' => {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'chap'
+ }
+ },
+ 'section_directions' => {
+ 'up' => {}
+ },
+ 'section_level' => 1,
+ 'section_number' => '1',
+ 'toplevel_directions' => {
+ 'prev' => {},
+ 'up' => {}
+ }
+ }
+ },
+ {
+ 'cmdname' => 'chapter',
+ 'extra' => {
+ 'associated_node' => {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'isindex' => 1,
+ 'normalized' => 'Idx'
+ }
+ },
+ 'section_directions' => {
+ 'prev' => {},
+ 'up' => {}
+ },
+ 'section_level' => 1,
+ 'section_number' => '2',
+ 'toplevel_directions' => {
+ 'prev' => {},
+ 'up' => {}
+ }
+ }
+ }
+ ],
+ 'section_level' => 0,
+ 'sectioning_root' => {},
+ 'toplevel_directions' => {}
+ }
+ }
+ ],
+ 'section_level' => -1
+ }
+};
+$result_sectioning{'anchor_on_vtable_item'}{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[0]{'extra'}{'section_directions'}{'up'}
= $result_sectioning{'anchor_on_vtable_item'}{'extra'}{'section_childs'}[0];
+$result_sectioning{'anchor_on_vtable_item'}{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[0]{'extra'}{'toplevel_directions'}{'prev'}
= $result_sectioning{'anchor_on_vtable_item'}{'extra'}{'section_childs'}[0];
+$result_sectioning{'anchor_on_vtable_item'}{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[0]{'extra'}{'toplevel_directions'}{'up'}
= $result_sectioning{'anchor_on_vtable_item'}{'extra'}{'section_childs'}[0];
+$result_sectioning{'anchor_on_vtable_item'}{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[1]{'extra'}{'section_directions'}{'prev'}
=
$result_sectioning{'anchor_on_vtable_item'}{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[0];
+$result_sectioning{'anchor_on_vtable_item'}{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[1]{'extra'}{'section_directions'}{'up'}
= $result_sectioning{'anchor_on_vtable_item'}{'extra'}{'section_childs'}[0];
+$result_sectioning{'anchor_on_vtable_item'}{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[1]{'extra'}{'toplevel_directions'}{'prev'}
=
$result_sectioning{'anchor_on_vtable_item'}{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[0];
+$result_sectioning{'anchor_on_vtable_item'}{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[1]{'extra'}{'toplevel_directions'}{'up'}
= $result_sectioning{'anchor_on_vtable_item'}{'extra'}{'section_childs'}[0];
+$result_sectioning{'anchor_on_vtable_item'}{'extra'}{'section_childs'}[0]{'extra'}{'sectioning_root'}
= $result_sectioning{'anchor_on_vtable_item'};
+
+$result_nodes{'anchor_on_vtable_item'} = [
+ {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'associated_section' => {
+ 'cmdname' => 'top',
+ 'extra' => {}
+ },
+ 'node_directions' => {
+ 'next' => {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'associated_section' => {
+ 'cmdname' => 'chapter',
+ 'extra' => {
+ 'section_number' => '1'
+ }
+ },
+ 'node_directions' => {
+ 'next' => {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'associated_section' => {
+ 'cmdname' => 'chapter',
+ 'extra' => {
+ 'section_number' => '2'
+ }
+ },
+ 'isindex' => 1,
+ 'node_directions' => {
+ 'prev' => {},
+ 'up' => {}
+ },
+ 'normalized' => 'Idx'
+ }
+ },
+ 'prev' => {},
+ 'up' => {}
+ },
+ 'normalized' => 'chap'
+ }
+ }
+ },
+ 'normalized' => 'Top'
+ }
+ },
+ {},
+ {}
+];
+$result_nodes{'anchor_on_vtable_item'}[0]{'extra'}{'node_directions'}{'next'}{'extra'}{'node_directions'}{'next'}{'extra'}{'node_directions'}{'prev'}
=
$result_nodes{'anchor_on_vtable_item'}[0]{'extra'}{'node_directions'}{'next'};
+$result_nodes{'anchor_on_vtable_item'}[0]{'extra'}{'node_directions'}{'next'}{'extra'}{'node_directions'}{'next'}{'extra'}{'node_directions'}{'up'}
= $result_nodes{'anchor_on_vtable_item'}[0];
+$result_nodes{'anchor_on_vtable_item'}[0]{'extra'}{'node_directions'}{'next'}{'extra'}{'node_directions'}{'prev'}
= $result_nodes{'anchor_on_vtable_item'}[0];
+$result_nodes{'anchor_on_vtable_item'}[0]{'extra'}{'node_directions'}{'next'}{'extra'}{'node_directions'}{'up'}
= $result_nodes{'anchor_on_vtable_item'}[0];
+$result_nodes{'anchor_on_vtable_item'}[1] =
$result_nodes{'anchor_on_vtable_item'}[0]{'extra'}{'node_directions'}{'next'};
+$result_nodes{'anchor_on_vtable_item'}[2] =
$result_nodes{'anchor_on_vtable_item'}[0]{'extra'}{'node_directions'}{'next'}{'extra'}{'node_directions'}{'next'};
+
+$result_menus{'anchor_on_vtable_item'} = [
+ {
+ 'extra' => {
+ 'normalized' => 'Top'
+ }
+ },
+ {
+ 'extra' => {
+ 'normalized' => 'chap'
+ }
+ },
+ {
+ 'extra' => {
+ 'normalized' => 'Idx'
+ }
+ }
+];
+
+$result_errors{'anchor_on_vtable_item'} = [];
+
+
+$result_floats{'anchor_on_vtable_item'} = {};
+
+
+$result_indices_sort_strings{'anchor_on_vtable_item'} = {
+ 'vr' => [
+ 'lab3',
+ 'label1',
+ 'label2'
+ ]
+};
+
+
+
+$result_converted{'html'}->{'anchor_on_vtable_item'} = '<!DOCTYPE html>
+<html>
+<!-- Created by texinfo, http://www.gnu.org/software/texinfo/ -->
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<title>top</title>
+
+<meta name="description" content="top">
+<meta name="keywords" content="top">
+<meta name="resource-type" content="document">
+<meta name="distribution" content="global">
+<meta name="viewport" content="width=device-width,initial-scale=1">
+
+<link href="#Top" rel="start" title="Top">
+<link href="#Idx" rel="index" title="Idx">
+<style type="text/css">
+<!--
+a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
+a.summary-letter-printindex {text-decoration: none}
+span:hover a.copiable-link {visibility: visible}
+td.printindex-index-entry {vertical-align: top}
+td.printindex-index-section {vertical-align: top; padding-left: 1em}
+th.entries-header-printindex {text-align:left}
+th.sections-header-printindex {text-align:left; padding-left: 1em}
+-->
+</style>
+
+
+</head>
+
+<body lang="en">
+<div class="top-level-extent" id="Top">
+<div class="nav-panel">
+<p>
+Next: <a href="#chap" accesskey="n" rel="next">Chap</a> [<a href="#Idx"
title="Index" rel="index">Index</a>]</p>
+</div>
+<h1 class="top" id="top"><span>top<a class="copiable-link" href="#top">
¶</a></span></h1>
+
+<ul class="mini-toc">
+<li><a href="#chap" accesskey="1">Chap</a></li>
+<li><a href="#Idx" accesskey="2">Idx</a></li>
+</ul>
+<hr>
+<div class="chapter-level-extent" id="chap">
+<div class="nav-panel">
+<p>
+Next: <a href="#Idx" accesskey="n" rel="next">Idx</a>, Previous: <a
href="#Top" accesskey="p" rel="prev">top</a>, Up: <a href="#Top" accesskey="u"
rel="up">top</a> [<a href="#Idx" title="Index" rel="index">Index</a>]</p>
+</div>
+<h2 class="chapter" id="Chap"><span>1 Chap<a class="copiable-link"
href="#Chap"> ¶</a></span></h2>
+
+<dl class="vtable">
+<dt><a id="index-label1"></a><span><code class="code"><a class="anchor"
id="label1"></a>label1</code><a class="copiable-link" href="#index-label1">
¶</a></span></dt>
+<dd><p>Text1
+</p>
+</dd>
+<dt><a id="index-label2"></a><span><code class="code"><a class="anchor"
id="label2"></a>label2</code><a class="copiable-link" href="#index-label2">
¶</a></span></dt>
+<dd><p>Text2
+</p>
+</dd>
+<dt><a id="index-lab3"></a><span><code class="code">lab3</code><a
class="copiable-link" href="#index-lab3"> ¶</a></span></dt>
+</dl>
+
+<hr>
+</div>
+<div class="chapter-level-extent" id="Idx">
+<div class="nav-panel">
+<p>
+Previous: <a href="#chap" accesskey="p" rel="prev">Chap</a>, Up: <a
href="#Top" accesskey="u" rel="up">top</a> [<a href="#Idx" title="Index"
rel="index">Index</a>]</p>
+</div>
+<h2 class="chapter" id="Idx-1"><span>2 Idx<a class="copiable-link"
href="#Idx-1"> ¶</a></span></h2>
+
+<div class="printindex vr-printindex">
+<table class="vr-entries-printindex" border="0">
+<tr><td></td><th class="entries-header-printindex">Index Entry</th><th
class="sections-header-printindex">Section</th></tr>
+<tr><td colspan="3"><hr></td></tr>
+<tr><th id="Idx_vr_letter-L">L</th></tr>
+<tr><td></td><td class="printindex-index-entry"><a
href="#index-lab3"><code>lab3</code></a></td><td
class="printindex-index-section"><a href="#chap">chap</a></td></tr>
+<tr><td></td><td class="printindex-index-entry"><a
href="#index-label1"><code><a class="anchor"
id="label1"></a>label1</code></a></td><td class="printindex-index-section"><a
href="#chap">chap</a></td></tr>
+<tr><td></td><td class="printindex-index-entry"><a
href="#index-label2"><code><a class="anchor"
id="label2"></a>label2</code></a></td><td class="printindex-index-section"><a
href="#chap">chap</a></td></tr>
+<tr><td colspan="3"><hr></td></tr>
+</table>
+</div>
+
+<p>See <a class="xref" href="#label1">label1</a>.
+</p></div>
+</div>
+
+
+
+</body>
+</html>
+';
+
+1;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: * tp/Makefile.tres, tp/t/html_tests.t (anchor_on_vtable_item): add test with @anchor on @vtable @item line. Based on a report of Georg-Johann Lay.,
Patrice Dumas <=