texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: * tp/Texinfo/Convert/HTML.pm (_convert_tree_unit_


From: Patrice Dumas
Subject: branch master updated: * tp/Texinfo/Convert/HTML.pm (_convert_tree_unit_type, convert) (output): only output a rule if there is something after.
Date: Fri, 31 Dec 2021 05:52:10 -0500

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 30f5efa1f4 * tp/Texinfo/Convert/HTML.pm (_convert_tree_unit_type, 
convert) (output): only output a rule if there is something after.
30f5efa1f4 is described below

commit 30f5efa1f419c9df974c9e428ed2c74ba6cd4a54
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Fri Dec 31 11:51:55 2021 +0100

    * tp/Texinfo/Convert/HTML.pm (_convert_tree_unit_type, convert)
    (output): only output a rule if there is something after.
    
    * tp/Texinfo/Structuring.pm (split_by_node),
    tp/Texinfo/Convert/Info.pm (output), tp/Texinfo/Convert/Plaintext.pm
    (process_footnotes), tp/Texinfo/Convert/TexinfoXML.pm (_convert):
    do not use no_root_command_tree() to check if there is no node.
    If there is no node, instead of setting extra no_node
    key, simply do not set extra node key.
---
 ChangeLog                                             |  12 ++++++++++++
 tp/Texinfo/Convert/HTML.pm                            |  12 +++---------
 tp/Texinfo/Convert/IXIN.pm                            |   3 ++-
 tp/Texinfo/Convert/Info.pm                            |   3 ++-
 tp/Texinfo/Convert/Plaintext.pm                       |   3 ++-
 tp/Texinfo/Convert/TexinfoXML.pm                      |   3 +--
 tp/Texinfo/Structuring.pm                             |  12 ++----------
 tp/t/results/converters_tests/at_commands_in_raw.pl   |   1 -
 tp/t/results/converters_tests/complex_nestings.pl     |   1 -
 tp/t/results/converters_tests/footnote_no_number.pl   |   1 -
 .../converters_tests/footnote_no_number_separate.pl   |   1 -
 tp/t/results/converters_tests/image_formatting.pl     |   3 +--
 .../converters_tests/index_entry_in_preformatted.pl   |   1 -
 .../printindex_merged_indices_code_style.pl           |   1 -
 tp/t/results/converters_tests/refs_formatting.pl      |   3 +--
 .../converters_tests/things_before_setfilename.pl     |   1 -
 tp/t/results/coverage/punctuation_in_line_commands.pl |   1 -
 tp/t/results/coverage_braces/footnote_no_node.pl      |   1 -
 tp/t/results/coverage_braces/inforef_too_much_args.pl |   3 +--
 tp/t/results/coverage_braces/test_image.pl            |   2 --
 tp/t/results/coverage_braces/verb_in_xref.pl          |   3 +--
 .../results/def/all_commands_delimiters_printindex.pl |   1 -
 tp/t/results/def/all_commands_printindex.pl           |   1 -
 tp/t/results/def/space_in_def_for_index.pl            |   1 -
 tp/t/results/float/anchor_in_caption.pl               |   3 +--
 tp/t/results/float/cindex_in_caption.pl               |   1 -
 tp/t/results/float/comment_space_comand_in_float.pl   |   1 -
 tp/t/results/float/footnote_in_caption.pl             |   1 -
 tp/t/results/float/footnote_in_caption_and_error.pl   |   1 -
 tp/t/results/formats_encodings/accent.pl              |   3 +--
 .../formats_encodings/accent_enable_encoding.pl       |   3 +--
 tp/t/results/formats_encodings/accentenc.pl           |   3 +--
 .../formats_encodings/accentenc_enable_encoding.pl    |   3 +--
 tp/t/results/formats_encodings/weird_accents.pl       |   3 +--
 .../weird_accents_disable_encoding.pl                 |   3 +--
 tp/t/results/heading/heading_in_copying.pl            |   1 -
 .../html_tests/character_number_leading_toc_stoc.pl   |   1 -
 .../html_tests/deftypefnnewline_for_copying_after.pl  |   1 -
 .../html_tests/deftypefnnewline_for_copying_before.pl |   1 -
 tp/t/results/html_tests/documentdescription.pl        |   1 -
 .../empty_lines_at_beginning_no_setfilename.pl        |   1 -
 tp/t/results/html_tests/html_in_copying.pl            |   1 -
 tp/t/results/html_tests/index_and_node_same_name.pl   |   1 -
 tp/t/results/html_tests/shortcontents_no_top.pl       |   1 -
 tp/t/results/html_tests/simple_menu.pl                |   1 -
 .../text_before_top_and_contents_after_title.pl       |   1 -
 ...text_before_top_and_summarycontents_after_title.pl |   1 -
 tp/t/results/html_tests/titles.pl                     |   3 +--
 .../default_cp_index_and_one_letter_syncodeindex.pl   |   1 -
 tp/t/results/indices/double_syncodeindex.pl           |   1 -
 tp/t/results/indices/empty_cindex_entry.pl            |   1 -
 tp/t/results/indices/empty_index_entry.pl             |   1 -
 tp/t/results/indices/empty_string_index_entry.pl      |   1 -
 .../indices/encoding_index_ascii/res_html/index.html  |   1 -
 .../res_html/index.html                               |   1 -
 .../indices/encoding_index_latin1/res_html/index.html |   1 -
 .../res_html/index.html                               |   1 -
 .../indices/encoding_index_utf8/res_html/index.html   |   1 -
 .../res_html/index.html                               |   1 -
 tp/t/results/indices/explicit_sort_key.pl             |   1 -
 tp/t/results/indices/ftable_vtable.pl                 |   1 -
 tp/t/results/indices/image_lines_count.pl             |   1 -
 tp/t/results/indices/image_text_lines_count.pl        |   1 -
 tp/t/results/indices/index_entries_locations.pl       |   1 -
 tp/t/results/indices/index_entry_before_first_node.pl | Bin 9500 -> 9495 bytes
 tp/t/results/indices/index_entry_in_footnote.pl       |   1 -
 tp/t/results/indices/printindex_with_space_before.pl  | Bin 9069 -> 9064 bytes
 .../indices/same_index_entry_merged_indices.pl        |   1 -
 tp/t/results/indices/seealso_duplicate.pl             |   1 -
 tp/t/results/indices/syncodeindex_to_plain.pl         |   1 -
 tp/t/results/indices/transparent_sort_chars.pl        |   1 -
 tp/t/results/indices/w_lines_count.pl                 |   1 -
 tp/t/results/languages/appendix_translated.pl         |   1 -
 tp/t/results/languages/command_translated.pl          |   3 +--
 tp/t/results/languages/multiple.pl                    |   1 -
 tp/t/results/languages/unknown_language.pl            |   3 +--
 tp/t/results/languages/unknown_region.pl              |   1 -
 .../menu/block_commands_in_menu_description.pl        |   1 -
 tp/t/results/menu/detailmenu_unknown_node.pl          |   1 -
 tp/t/results/menu/example_in_menu_description.pl      |   1 -
 tp/t/results/menu/formats_in_menu.pl                  |   1 -
 tp/t/results/menu/inlineraw_in_menu_description.pl    |   1 -
 tp/t/results/menu/invalid_info_menu_entry.pl          |   1 -
 tp/t/results/menu/menu_in_example.pl                  |   1 -
 tp/t/results/menu/menu_pointing_to_anchor.pl          |   1 -
 tp/t/results/menu/no_colon_in_menu.pl                 |   1 -
 tp/t/results/menu/reference_to_external_manual.pl     |   1 -
 tp/t/results/menu/submenu_in_example.pl               |   1 -
 tp/t/results/menu/verb_in_menu_description.pl         |   1 -
 .../codequoteundirected_codequotebacktick.pl          |   1 -
 .../misc_commands/comment_space_command_on_line.pl    |   1 -
 .../misc_commands/no_empty_line_between_headings.pl   |   1 -
 tp/t/results/misc_commands/ref_in_center.pl           |   3 +--
 tp/t/results/misc_commands/test_allowcodebreaks.pl    |   1 -
 tp/t/results/regions/anchor_in_copying.pl             |   1 -
 tp/t/results/regions/anchor_in_copying_in_footnote.pl |   1 -
 tp/t/results/regions/anchor_in_titlepage.pl           |   3 +--
 tp/t/results/regions/anchor_in_titlepage_titlepage.pl |   3 +--
 tp/t/results/regions/format_in_titlepage.pl           |   1 -
 tp/t/results/regions/format_in_titlepage_titlepage.pl |   1 -
 tp/t/results/regions/today_in_copying.pl              |   3 +--
 tp/t/results/sectioning/anchor_zero.pl                |   3 +--
 .../sectioning/chapter_before_and_after_part.pl       |   1 -
 tp/t/results/sectioning/chapter_before_part.pl        |   1 -
 tp/t/results/sectioning/contents.pl                   |   1 -
 tp/t/results/sectioning/contents_and_shortcontents.pl |   1 -
 tp/t/results/sectioning/contents_in_html_text.pl      |   1 -
 .../results/sectioning/contents_with_only_top_node.pl |   1 -
 tp/t/results/sectioning/equivalent_labels.pl          |   1 -
 tp/t/results/sectioning/no_argument_and_contents.pl   |   1 -
 .../sectioning/node_sectop_before_chapter_no_node.pl  |   1 -
 .../node_up_direction_for_top_with_manual.pl          |   1 -
 .../sectioning/one_node_explicit_directions_anchor.pl |   3 +--
 tp/t/results/sectioning/one_subsection.pl             |   1 -
 tp/t/results/sectioning/one_subsection_and_node.pl    |   1 -
 tp/t/results/sectioning/part_before_chapter.pl        |   1 -
 tp/t/results/sectioning/part_before_section.pl        |   1 -
 tp/t/results/sectioning/part_before_top.pl            |   1 -
 .../sectioning/placed_things_before_element.pl        |   1 -
 tp/t/results/sectioning/placed_things_before_node.pl  |   1 -
 tp/t/results/sectioning/ref_to_top.pl                 |   3 +--
 .../sectioning/section_before_after_top_node.pl       |   3 +--
 tp/t/results/sectioning/section_before_part.pl        |   1 -
 .../sectioning/section_below_unnumbered_no_top.pl     |   1 -
 tp/t/results/sectioning/section_node_before_part.pl   |   1 -
 tp/t/results/sectioning/sections_test.pl              |   1 -
 .../sectioning/setfilename_on_top_and_after_node.pl   |   1 -
 tp/t/results/sectioning/shortcontents.pl              |   1 -
 .../results/sectioning/top_no_argument_and_content.pl |   3 +--
 tp/t/results/sectioning/top_no_argument_and_node.pl   |   3 +--
 .../sectioning/top_no_argument_and_top_node.pl        |   3 +--
 tp/t/results/sectioning/top_node_part_top.pl          |   1 -
 tp/t/results/sectioning/top_without_node_nodes.pl     |   3 +--
 tp/t/results/sectioning/top_without_node_sections.pl  |   3 +--
 tp/t/results/sectioning/two_unnumbered_no_argument.pl |   1 -
 .../sectioning/unnumbered_before_node_top_top.pl      |   3 +--
 tp/t/results/sectioning/unnumbered_before_top_node.pl |   1 -
 tp/t/results/xtable/block_commands_in_table.pl        |   3 +--
 138 files changed, 53 insertions(+), 183 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 9a7932a992..357333f2fb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2021-12-30  Patrice Dumas  <pertusus@free.fr>
+
+       * tp/Texinfo/Convert/HTML.pm (_convert_tree_unit_type, convert)
+       (output): only output a rule if there is something after.
+
+       * tp/Texinfo/Structuring.pm (split_by_node),
+       tp/Texinfo/Convert/Info.pm (output), tp/Texinfo/Convert/Plaintext.pm
+       (process_footnotes), tp/Texinfo/Convert/TexinfoXML.pm (_convert):
+       do not use no_root_command_tree() to check if there is no node.
+       If there is no node, instead of setting extra no_node
+       key, simply do not set extra node key.
+
 2021-12-30  Patrice Dumas  <pertusus@free.fr>
 
        * tp/Texinfo/Convert/HTML.pm (%default_types_conversion),
diff --git a/tp/Texinfo/Convert/HTML.pm b/tp/Texinfo/Convert/HTML.pm
index 61e83baf9d..d160097946 100644
--- a/tp/Texinfo/Convert/HTML.pm
+++ b/tp/Texinfo/Convert/HTML.pm
@@ -5224,7 +5224,9 @@ sub _convert_tree_unit_type($$$$)
       # of footnotes in a separate unit.  And if footnotestyle is end
       # the footnotes won't be done in format_element_footer either.
       $result .= &{$self->{'format_footnotes_text'}}($self);
-      $result .= $self->get_conf('DEFAULT_RULE')."\n";
+      $result .= $self->get_conf('DEFAULT_RULE') ."\n"
+        if ($self->get_conf('PROGRAM_NAME_IN_FOOTER')
+          and defined($self->get_conf('DEFAULT_RULE')));
       # do it here, as it is won't be done at end of page in 
format_element_footer
       $result .= join('', $self->close_registered_sections_level(0));
       return $result;
@@ -7672,11 +7674,7 @@ sub convert($$)
 
   if (!defined($tree_units)) {
     $result = $self->_convert($root);
-    # FIXME API unclean
     $result .= &{$self->{'format_footnotes_text'}}($self);
-    $result .= $self->get_conf('DEFAULT_RULE') ."\n",
-      if ($self->get_conf('PROGRAM_NAME_IN_FOOTER')
-          and defined($self->get_conf('DEFAULT_RULE')));
   } else {
     foreach my $tree_unit (@$tree_units) {
       my $tree_unit_text = $self->_convert($tree_unit);
@@ -8065,11 +8063,7 @@ sub output($$)
     } else {
       $body .= $self->_print_title();
       $body .= $self->_convert($root);
-    # FIXME API unclean
       $body .= &{$self->{'format_footnotes_text'}}($self);
-      $body .= $self->get_conf('DEFAULT_RULE') ."\n",
-        if ($self->get_conf('PROGRAM_NAME_IN_FOOTER')
-          and defined($self->get_conf('DEFAULT_RULE')));
     }
 
     my $header = &{$self->{'format_begin_file'}}($self, $output_filename, 
undef);
diff --git a/tp/Texinfo/Convert/IXIN.pm b/tp/Texinfo/Convert/IXIN.pm
index 5c2b296a51..c38e70bc60 100644
--- a/tp/Texinfo/Convert/IXIN.pm
+++ b/tp/Texinfo/Convert/IXIN.pm
@@ -433,7 +433,8 @@ sub output_ixin($$)
   my $document_output = '';
   if ($tree_units) {
     foreach my $node_element (@$tree_units) {
-      next if ($node_element->{'extra'}->{'no_node'});
+      next if (not defined ($node_element->{'extra'})
+               or not defined($node_element->{'extra'}->{'node'}));
       $node_nr++;
       my $node = $node_element->{'extra'}->{'unit_command'};
       push @nodes, $node;
diff --git a/tp/Texinfo/Convert/Info.pm b/tp/Texinfo/Convert/Info.pm
index f0a76ab0a1..277b5f8395 100644
--- a/tp/Texinfo/Convert/Info.pm
+++ b/tp/Texinfo/Convert/Info.pm
@@ -99,7 +99,8 @@ sub output($)
   print STDERR "DOCUMENT\n" if ($self->get_conf('DEBUG'));
   my $out_file_nr = 0;
   my @indirect_files;
-  if (!defined($tree_units) or $tree_units->[0]->{'extra'}->{'no_node'}) {
+  if (!defined($tree_units) or not defined($tree_units->[0]->{'extra'})
+      or not defined($tree_units->[0]->{'extra'}->{'node'})) {
     $self->file_line_warn(__("document without nodes"), 
                           $self->{'parser_info'}->{'input_file_name'});
     my $output = $header.$self->convert_tree($root);
diff --git a/tp/Texinfo/Convert/Plaintext.pm b/tp/Texinfo/Convert/Plaintext.pm
index b64518e3ff..ec7ca78d32 100644
--- a/tp/Texinfo/Convert/Plaintext.pm
+++ b/tp/Texinfo/Convert/Plaintext.pm
@@ -833,7 +833,8 @@ sub process_footnotes($;$)
 {
   my ($self, $element) = @_;
 
-  $element = undef if ($element and $element->{'extra'}->{'no_node'});
+  $element = undef if ($element and (not defined ($element->{'extra'})
+                          or not defined $element->{'extra'}->{'node'}));
 
   my $result = '';
   if (scalar(@{$self->{'pending_footnotes'}})) {
diff --git a/tp/Texinfo/Convert/TexinfoXML.pm b/tp/Texinfo/Convert/TexinfoXML.pm
index a993634a5d..82e3f8f89c 100644
--- a/tp/Texinfo/Convert/TexinfoXML.pm
+++ b/tp/Texinfo/Convert/TexinfoXML.pm
@@ -1017,8 +1017,7 @@ sub _convert($$;$)
             and $element->{'parent'}->{'type'}
             and $element->{'parent'}->{'type'} eq 'unit'
             and !(not defined $element->{'parent'}->{'extra'}->{'section'}
-                  or ($element->{'parent'}->{'extra'}
-                      and $element->{'parent'}->{'extra'}->{'no_node'}))) {
+                  or not defined $element->{'parent'}->{'extra'}->{'node'})) {
           $self->{'pending_bye'} = $self->open_element($cmdname)
                     .$self->close_element($cmdname)."\n";
           return '';
diff --git a/tp/Texinfo/Structuring.pm b/tp/Texinfo/Structuring.pm
index c5649e38d7..284ccc4c01 100644
--- a/tp/Texinfo/Structuring.pm
+++ b/tp/Texinfo/Structuring.pm
@@ -847,11 +847,8 @@ sub section_level_adjusted_command_name($)
 sub split_by_node($)
 {
   my $root = shift;
-  if (no_root_command_tree($root)) {
-    return undef;
-  }
   my $tree_units;
-  my $current = { 'type' => 'unit', 'extra' => {'no_node' => 1}};
+  my $current = { 'type' => 'unit' };
   push @$tree_units, $current;
   my @pending_parts = ();
   foreach my $content (@{$root->{'contents'}}) {
@@ -861,8 +858,7 @@ sub split_by_node($)
       next;
     }
     if ($content->{'cmdname'} and $content->{'cmdname'} eq 'node') {
-      if ($current->{'extra'}->{'no_node'}) {
-        delete $current->{'extra'}->{'no_node'};
+      if (not $current->{'extra'} or not $current->{'extra'}->{'node'}) {
         $current->{'extra'}->{'node'} = $content;
       } else {
         $current = { 'type' => 'unit', 'extra' => {'node' => $content}};
@@ -2074,10 +2070,6 @@ In the I<extra> hash they have
 
 =over
 
-=item no_node
-
-A special case, if there are no nodes in the document, the value is set.
-
 =item node
 
 =item unit_command
diff --git a/tp/t/results/converters_tests/at_commands_in_raw.pl 
b/tp/t/results/converters_tests/at_commands_in_raw.pl
index 2c303d01ca..2a5ee1001a 100644
--- a/tp/t/results/converters_tests/at_commands_in_raw.pl
+++ b/tp/t/results/converters_tests/at_commands_in_raw.pl
@@ -1261,7 +1261,6 @@ $result_converted{'html_text'}->{'at_commands_in_raw'} = 
'<h1 class="node-headin
 <h5><a id="FOOT2" href="#DOCF2">(2)</a></h5>
 <p>second footnote</p>
 </div>
-<hr>
 ';
 
 
diff --git a/tp/t/results/converters_tests/complex_nestings.pl 
b/tp/t/results/converters_tests/complex_nestings.pl
index 75910b2202..49193e11f7 100644
--- a/tp/t/results/converters_tests/complex_nestings.pl
+++ b/tp/t/results/converters_tests/complex_nestings.pl
@@ -1483,7 +1483,6 @@ explanation
 <pre class="example">
 
 </pre></div>
-<hr>
 ';
 
 
diff --git a/tp/t/results/converters_tests/footnote_no_number.pl 
b/tp/t/results/converters_tests/footnote_no_number.pl
index 9f22b36dab..9d5764515e 100644
--- a/tp/t/results/converters_tests/footnote_no_number.pl
+++ b/tp/t/results/converters_tests/footnote_no_number.pl
@@ -242,7 +242,6 @@ $result_converted{'html_text'}->{'footnote_no_number'} = 
'<h1 class="node-headin
 <h5><a id="FOOT2" href="#DOCF2">(*)</a></h5>
 <p>Footnote 2.</p>
 </div>
-<hr>
 ';
 
 
diff --git a/tp/t/results/converters_tests/footnote_no_number_separate.pl 
b/tp/t/results/converters_tests/footnote_no_number_separate.pl
index 5a8a4aa580..a95e08601f 100644
--- a/tp/t/results/converters_tests/footnote_no_number_separate.pl
+++ b/tp/t/results/converters_tests/footnote_no_number_separate.pl
@@ -240,7 +240,6 @@ 
$result_converted{'html_text'}->{'footnote_no_number_separate'} = '<h1 class="no
 <h5><a id="FOOT2" href="#DOCF2">(*)</a></h5>
 <p>Footnote 2.</p>
 </div>
-<hr>
 ';
 
 
diff --git a/tp/t/results/converters_tests/image_formatting.pl 
b/tp/t/results/converters_tests/image_formatting.pl
index 837ab0f725..908edd749f 100644
--- a/tp/t/results/converters_tests/image_formatting.pl
+++ b/tp/t/results/converters_tests/image_formatting.pl
@@ -2601,8 +2601,7 @@ $result_converted{'html_text'}->{'image_formatting'} = 
'<h1 class="node-heading"
 
 <p>in para
 <img src="f--ile.png" alt="a very long alt argument that could span more than 
one line who knows">.
-</p><hr>
-';
+</p>';
 
 $result_converted_errors{'html_text'}->{'image_formatting'} = [
   {
diff --git a/tp/t/results/converters_tests/index_entry_in_preformatted.pl 
b/tp/t/results/converters_tests/index_entry_in_preformatted.pl
index 00633af527..f7968ea2ab 100644
--- a/tp/t/results/converters_tests/index_entry_in_preformatted.pl
+++ b/tp/t/results/converters_tests/index_entry_in_preformatted.pl
@@ -384,7 +384,6 @@ 
$result_converted{'html_text'}->{'index_entry_in_preformatted'} = '<h1 class="no
 
 <a class="index-entry-anchor" id="index-other"></a>text2
 <a class="index-entry-anchor" id="index-last"></a></pre></div>
-<hr>
 ';
 
 
diff --git 
a/tp/t/results/converters_tests/printindex_merged_indices_code_style.pl 
b/tp/t/results/converters_tests/printindex_merged_indices_code_style.pl
index dd6b62ba83..9dbabf4724 100644
--- a/tp/t/results/converters_tests/printindex_merged_indices_code_style.pl
+++ b/tp/t/results/converters_tests/printindex_merged_indices_code_style.pl
@@ -831,7 +831,6 @@ 
$result_converted{'html_text'}->{'printindex_merged_indices_code_style'} = '<h1
 <a class="summary-letter" href="#t_h_fn_letter-V"><b>V</b></a>
  &nbsp; 
 </td></tr></table>
-<hr>
 ';
 
 
diff --git a/tp/t/results/converters_tests/refs_formatting.pl 
b/tp/t/results/converters_tests/refs_formatting.pl
index 88eea966fc..f4c9289155 100644
--- a/tp/t/results/converters_tests/refs_formatting.pl
+++ b/tp/t/results/converters_tests/refs_formatting.pl
@@ -4501,8 +4501,7 @@ $result_converted{'html_text'}->{'refs_formatting'} = 
'<div class="chapter" id="
 <code>@inforef{chapter}</code> See &lsquo;chapter&rsquo;
 <code>@inforef{chapter, cross ref name}</code> See &lsquo;cross ref name&rsquo;
 <code>@inforef{chapter,,file name}</code> See <a data-manual="file name" 
href="file name.html#chapter">(file name)chapter</a>
-</p><hr>
-</div>
+</p></div>
 ';
 
 
diff --git a/tp/t/results/converters_tests/things_before_setfilename.pl 
b/tp/t/results/converters_tests/things_before_setfilename.pl
index a2cb7c87bc..8ee1ebe0c8 100644
--- a/tp/t/results/converters_tests/things_before_setfilename.pl
+++ b/tp/t/results/converters_tests/things_before_setfilename.pl
@@ -1553,7 +1553,6 @@ ul.no-bullet {list-style: none}
 <p>Ref to footnote anchor
 <a href="#Anchor-in-footnote">Anchor in footnote</a>
 </p>
-<hr>
 </div>
 
 
diff --git a/tp/t/results/coverage/punctuation_in_line_commands.pl 
b/tp/t/results/coverage/punctuation_in_line_commands.pl
index 348d892dbb..33564d510d 100644
--- a/tp/t/results/coverage/punctuation_in_line_commands.pl
+++ b/tp/t/results/coverage/punctuation_in_line_commands.pl
@@ -1260,7 +1260,6 @@ 
$result_converted{'html_text'}->{'punctuation_in_line_commands'} = '
 </td></tr></table>
 
 
-<hr>
 </div>
 ';
 
diff --git a/tp/t/results/coverage_braces/footnote_no_node.pl 
b/tp/t/results/coverage_braces/footnote_no_node.pl
index 67280843ac..ec3b92dcf7 100644
--- a/tp/t/results/coverage_braces/footnote_no_node.pl
+++ b/tp/t/results/coverage_braces/footnote_no_node.pl
@@ -165,7 +165,6 @@ $result_converted{'html_text'}->{'footnote_no_node'} = 
'<div class="top" id="top
 <h5><a id="FOOT1" href="#DOCF1">(1)</a></h5>
 <p>In footnote</p>
 </div>
-<hr>
 </div>
 ';
 
diff --git a/tp/t/results/coverage_braces/inforef_too_much_args.pl 
b/tp/t/results/coverage_braces/inforef_too_much_args.pl
index c6ea596acb..f0695c7baa 100644
--- a/tp/t/results/coverage_braces/inforef_too_much_args.pl
+++ b/tp/t/results/coverage_braces/inforef_too_much_args.pl
@@ -197,7 +197,6 @@ $result_converted{'plaintext'}->{'inforef_too_much_args'} = 
'*note cross ref nam
 $result_converted{'html_text'}->{'inforef_too_much_args'} = '<h4 
class="node-heading" id="chapter">chapter</h4>
 
 <p>See <a data-manual="file name, spurious arg" href="file name, spurious 
arg.html#chapter">(file name, spurious arg)cross ref name</a>
-</p><hr>
-';
+</p>';
 
 1;
diff --git a/tp/t/results/coverage_braces/test_image.pl 
b/tp/t/results/coverage_braces/test_image.pl
index 37e5f90492..5357ebd9cd 100644
--- a/tp/t/results/coverage_braces/test_image.pl
+++ b/tp/t/results/coverage_braces/test_image.pl
@@ -3995,7 +3995,6 @@ In text <img src="f@i--le..  a@&lt;&quot;%@  &lt; &amp; @ 
% &quot; .ext@i--le..
 &lt;&quot;%@  &lt; &amp; @ % &quot; ">.</p></dd>
 </dl>
 
-<hr>
 
 
 
@@ -4237,7 +4236,6 @@ In text <img src="f@i--le..  a@&lt;&quot;%@  &lt; &amp; @ 
% &quot; .ext@i--le..
 &lt;&quot;%@  &lt; &amp; @ % &quot; ">.</p></dd>
 </dl>
 
-<hr>
 ';
 
 $result_converted_errors{'html_text'}->{'test_image'} = [
diff --git a/tp/t/results/coverage_braces/verb_in_xref.pl 
b/tp/t/results/coverage_braces/verb_in_xref.pl
index 10795b4349..54a8f1166a 100644
--- a/tp/t/results/coverage_braces/verb_in_xref.pl
+++ b/tp/t/results/coverage_braces/verb_in_xref.pl
@@ -239,7 +239,6 @@ $result_converted{'html_text'}->{'verb_in_xref'} = '<h1 
class="node-heading" id=
 verb
 
 ggg </tt></a>.
-</p><hr>
-';
+</p>';
 
 1;
diff --git a/tp/t/results/def/all_commands_delimiters_printindex.pl 
b/tp/t/results/def/all_commands_delimiters_printindex.pl
index 211f27912d..39d3b3559a 100644
--- a/tp/t/results/def/all_commands_delimiters_printindex.pl
+++ b/tp/t/results/def/all_commands_delimiters_printindex.pl
@@ -16441,7 +16441,6 @@ ul.no-bullet {list-style: none}
 <a class="summary-letter" href="#Top_vr_letter-F"><b>F</b></a>
  &nbsp; 
 </td></tr></table>
-<hr>
 
 
 
diff --git a/tp/t/results/def/all_commands_printindex.pl 
b/tp/t/results/def/all_commands_printindex.pl
index 0d28be8453..15e6bca6b2 100644
--- a/tp/t/results/def/all_commands_printindex.pl
+++ b/tp/t/results/def/all_commands_printindex.pl
@@ -6139,7 +6139,6 @@ ul.no-bullet {list-style: none}
 <table><tr><th valign="top">Jump to: &nbsp; </th><td><a class="summary-letter" 
href="#Top_vr_letter-D"><b>D</b></a>
  &nbsp; 
 </td></tr></table>
-<hr>
 
 
 
diff --git a/tp/t/results/def/space_in_def_for_index.pl 
b/tp/t/results/def/space_in_def_for_index.pl
index b0a8f5ef70..a0f70a2bea 100644
--- a/tp/t/results/def/space_in_def_for_index.pl
+++ b/tp/t/results/def/space_in_def_for_index.pl
@@ -602,7 +602,6 @@ ul.no-bullet {list-style: none}
 <a class="summary-letter" href="#Top_fn_letter-N"><b>N</b></a>
  &nbsp; 
 </td></tr></table>
-<hr>
 
 
 
diff --git a/tp/t/results/float/anchor_in_caption.pl 
b/tp/t/results/float/anchor_in_caption.pl
index e69fd5ad9b..a239ee9c40 100644
--- a/tp/t/results/float/anchor_in_caption.pl
+++ b/tp/t/results/float/anchor_in_caption.pl
@@ -470,8 +470,7 @@ ul.no-bullet {list-style: none}
 <div class="float" id="label">
 <p>In float.
 </p>
-<div class="float-caption"><p><strong>fl 1: </strong>in caption<a 
class="anchor" id="in-anchor"></a></p></div></div><hr>
-
+<div class="float-caption"><p><strong>fl 1: </strong>in caption<a 
class="anchor" id="in-anchor"></a></p></div></div>
 
 
 </body>
diff --git a/tp/t/results/float/cindex_in_caption.pl 
b/tp/t/results/float/cindex_in_caption.pl
index 14152c101d..58e19b1bd9 100644
--- a/tp/t/results/float/cindex_in_caption.pl
+++ b/tp/t/results/float/cindex_in_caption.pl
@@ -581,7 +581,6 @@ ul.no-bullet {list-style: none}
  &nbsp; 
 </td></tr></table>
 
-<hr>
 
 
 
diff --git a/tp/t/results/float/comment_space_comand_in_float.pl 
b/tp/t/results/float/comment_space_comand_in_float.pl
index 3cc7c216e0..0f7213f184 100644
--- a/tp/t/results/float/comment_space_comand_in_float.pl
+++ b/tp/t/results/float/comment_space_comand_in_float.pl
@@ -444,7 +444,6 @@ ul.no-bullet {list-style: none}
 <dl class="listoffloats">
 <dt><a href="#label--">Text &nbsp; 1</a></dt><dd></dd>
 </dl>
-<hr>
 
 
 
diff --git a/tp/t/results/float/footnote_in_caption.pl 
b/tp/t/results/float/footnote_in_caption.pl
index 4383ce8624..37425a9af3 100644
--- a/tp/t/results/float/footnote_in_caption.pl
+++ b/tp/t/results/float/footnote_in_caption.pl
@@ -489,7 +489,6 @@ ul.no-bullet {list-style: none}
 <h5><a id="FOOT1" href="#DOCF1">(2)</a></h5>
 <p>in footnote</p>
 </div>
-<hr>
 
 
 
diff --git a/tp/t/results/float/footnote_in_caption_and_error.pl 
b/tp/t/results/float/footnote_in_caption_and_error.pl
index 04e2d435ca..e75f1594de 100644
--- a/tp/t/results/float/footnote_in_caption_and_error.pl
+++ b/tp/t/results/float/footnote_in_caption_and_error.pl
@@ -476,7 +476,6 @@ ul.no-bullet {list-style: none}
 <h5><a id="FOOT1" href="#DOCF1">(2)</a></h5>
 <p>in footnote error&rarr;</p>
 </div>
-<hr>
 
 
 
diff --git a/tp/t/results/formats_encodings/accent.pl 
b/tp/t/results/formats_encodings/accent.pl
index c1137101db..1bb5d06c7f 100644
--- a/tp/t/results/formats_encodings/accent.pl
+++ b/tp/t/results/formats_encodings/accent.pl
@@ -3326,8 +3326,7 @@ $result_converted{'html_text'}->{'accent'} = '<div 
class="top" id="Top-node">
 <p>should be dotless j^: &#309;
 </p>
 <p>should be dotless j&quot;: j&#776;
-</p><hr>
-</div>
+</p></div>
 ';
 
 
diff --git a/tp/t/results/formats_encodings/accent_enable_encoding.pl 
b/tp/t/results/formats_encodings/accent_enable_encoding.pl
index e121dd1f51..b21559cc11 100644
--- a/tp/t/results/formats_encodings/accent_enable_encoding.pl
+++ b/tp/t/results/formats_encodings/accent_enable_encoding.pl
@@ -3326,8 +3326,7 @@ 
$result_converted{'html_text'}->{'accent_enable_encoding'} = '<div class="top" i
 <p>should be dotless j^: ĵ
 </p>
 <p>should be dotless j&quot;: j̈
-</p><hr>
-</div>
+</p></div>
 ';
 
 
diff --git a/tp/t/results/formats_encodings/accentenc.pl 
b/tp/t/results/formats_encodings/accentenc.pl
index 3a090b9e77..588c177f00 100644
--- a/tp/t/results/formats_encodings/accentenc.pl
+++ b/tp/t/results/formats_encodings/accentenc.pl
@@ -3372,8 +3372,7 @@ $result_converted{'html_text'}->{'accentenc'} = '
 <p>should be dotless j^: &#309;
 </p>
 <p>should be dotless j&quot;: j&#776;
-</p><hr>
-</div>
+</p></div>
 ';
 
 
diff --git a/tp/t/results/formats_encodings/accentenc_enable_encoding.pl 
b/tp/t/results/formats_encodings/accentenc_enable_encoding.pl
index 59cf92d647..f883b4c570 100644
--- a/tp/t/results/formats_encodings/accentenc_enable_encoding.pl
+++ b/tp/t/results/formats_encodings/accentenc_enable_encoding.pl
@@ -3293,8 +3293,7 @@ 
$result_converted{'html_text'}->{'accentenc_enable_encoding'} = '
 <p>should be dotless j^: &#309;
 </p>
 <p>should be dotless j&quot;: j&#776;
-</p><hr>
-</div>
+</p></div>
 ';
 
 1;
diff --git a/tp/t/results/formats_encodings/weird_accents.pl 
b/tp/t/results/formats_encodings/weird_accents.pl
index 194cfdc22a..cf90eb74d6 100644
--- a/tp/t/results/formats_encodings/weird_accents.pl
+++ b/tp/t/results/formats_encodings/weird_accents.pl
@@ -656,8 +656,7 @@ $result_converted{'html_text'}->{'weird_accents'} = '
 <p>r&#768;&#803;&#770;
 </p>
 <p>r&#768;&#769;&#772;
-</p><hr>
-</div>
+</p></div>
 ';
 
 
diff --git a/tp/t/results/formats_encodings/weird_accents_disable_encoding.pl 
b/tp/t/results/formats_encodings/weird_accents_disable_encoding.pl
index 5f3850422e..77a84037a0 100644
--- a/tp/t/results/formats_encodings/weird_accents_disable_encoding.pl
+++ b/tp/t/results/formats_encodings/weird_accents_disable_encoding.pl
@@ -656,8 +656,7 @@ 
$result_converted{'html_text'}->{'weird_accents_disable_encoding'} = '
 <p>r&#768;&#803;&#770;
 </p>
 <p>r&#768;&#769;&#772;
-</p><hr>
-</div>
+</p></div>
 ';
 
 
diff --git a/tp/t/results/heading/heading_in_copying.pl 
b/tp/t/results/heading/heading_in_copying.pl
index d1e892d8b7..d238cd3ebd 100644
--- a/tp/t/results/heading/heading_in_copying.pl
+++ b/tp/t/results/heading/heading_in_copying.pl
@@ -472,7 +472,6 @@ ul.no-bullet {list-style: none}
 <a class="index-entry-anchor" id="index-copying-cindex-copying"></a>
 
 <h4 class="subheading" id="second-in-copying-_0040-subheading">second in 
copying @ <em>subheading</em></h4>
-<hr>
 
 
 
diff --git a/tp/t/results/html_tests/character_number_leading_toc_stoc.pl 
b/tp/t/results/html_tests/character_number_leading_toc_stoc.pl
index 93437e25af..d1daba9dcd 100644
--- a/tp/t/results/html_tests/character_number_leading_toc_stoc.pl
+++ b/tp/t/results/html_tests/character_number_leading_toc_stoc.pl
@@ -385,7 +385,6 @@ ul.no-bullet {list-style: none}
 
 
 
-<hr>
 </div>
 </div>
 </div>
diff --git a/tp/t/results/html_tests/deftypefnnewline_for_copying_after.pl 
b/tp/t/results/html_tests/deftypefnnewline_for_copying_after.pl
index 74f2277ae8..3bcffaf8d3 100644
--- a/tp/t/results/html_tests/deftypefnnewline_for_copying_after.pl
+++ b/tp/t/results/html_tests/deftypefnnewline_for_copying_after.pl
@@ -829,7 +829,6 @@ ul.no-bullet {list-style: none}
 <dd><p>do something with input
 </p></dd></dl>
 
-<hr>
 </div>
 
 
diff --git a/tp/t/results/html_tests/deftypefnnewline_for_copying_before.pl 
b/tp/t/results/html_tests/deftypefnnewline_for_copying_before.pl
index 93d6f9fe48..a668533110 100644
--- a/tp/t/results/html_tests/deftypefnnewline_for_copying_before.pl
+++ b/tp/t/results/html_tests/deftypefnnewline_for_copying_before.pl
@@ -771,7 +771,6 @@ ul.no-bullet {list-style: none}
 <dd><p>do something with input
 </p></dd></dl>
 
-<hr>
 </div>
 
 
diff --git a/tp/t/results/html_tests/documentdescription.pl 
b/tp/t/results/html_tests/documentdescription.pl
index 76298cebc3..46e64749f1 100644
--- a/tp/t/results/html_tests/documentdescription.pl
+++ b/tp/t/results/html_tests/documentdescription.pl
@@ -456,7 +456,6 @@ ul.no-bullet {list-style: none}
 
 <div class="top" id="top">
 <h1 class="top">top</h1>
-<hr>
 </div>
 
 
diff --git a/tp/t/results/html_tests/empty_lines_at_beginning_no_setfilename.pl 
b/tp/t/results/html_tests/empty_lines_at_beginning_no_setfilename.pl
index 0007fac6aa..ea76ba9ddd 100644
--- a/tp/t/results/html_tests/empty_lines_at_beginning_no_setfilename.pl
+++ b/tp/t/results/html_tests/empty_lines_at_beginning_no_setfilename.pl
@@ -295,7 +295,6 @@ ul.no-bullet {list-style: none}
 <div class="top" id="Top">
 <h1 class="top" id="top">top</h1>
 
-<hr>
 </div>
 
 
diff --git a/tp/t/results/html_tests/html_in_copying.pl 
b/tp/t/results/html_tests/html_in_copying.pl
index 34fb1ad8af..68c7605a03 100644
--- a/tp/t/results/html_tests/html_in_copying.pl
+++ b/tp/t/results/html_tests/html_in_copying.pl
@@ -401,7 +401,6 @@ ul.no-bullet {list-style: none}
 <div class="top" id="Top">
 <h1 class="top" id="top">top</h1>
 
-<hr>
 </div>
 
 
diff --git a/tp/t/results/html_tests/index_and_node_same_name.pl 
b/tp/t/results/html_tests/index_and_node_same_name.pl
index fca47d25c6..07e0489d6d 100644
--- a/tp/t/results/html_tests/index_and_node_same_name.pl
+++ b/tp/t/results/html_tests/index_and_node_same_name.pl
@@ -323,7 +323,6 @@ ul.no-bullet {list-style: none}
  &nbsp; 
 </td></tr></table>
 
-<hr>
 </div>
 
 
diff --git a/tp/t/results/html_tests/shortcontents_no_top.pl 
b/tp/t/results/html_tests/shortcontents_no_top.pl
index 1953d0f8a2..1611f8dc16 100644
--- a/tp/t/results/html_tests/shortcontents_no_top.pl
+++ b/tp/t/results/html_tests/shortcontents_no_top.pl
@@ -302,7 +302,6 @@ ul.no-bullet {list-style: none}
 </ul>
 </div>
 </div>
-<hr>
 </div>
 </div>
 
diff --git a/tp/t/results/html_tests/simple_menu.pl 
b/tp/t/results/html_tests/simple_menu.pl
index af7292f4f7..d6485c3ed5 100644
--- a/tp/t/results/html_tests/simple_menu.pl
+++ b/tp/t/results/html_tests/simple_menu.pl
@@ -2278,7 +2278,6 @@ ul.no-bullet {list-style: none}
 
 <div class="top" id="Top">
 <a class="top-anchor" id="SEC_Top"></a>
-<hr>
 </div>
 
 
diff --git 
a/tp/t/results/html_tests/text_before_top_and_contents_after_title.pl 
b/tp/t/results/html_tests/text_before_top_and_contents_after_title.pl
index 859cf8f6c8..a75b2b9ec3 100644
--- a/tp/t/results/html_tests/text_before_top_and_contents_after_title.pl
+++ b/tp/t/results/html_tests/text_before_top_and_contents_after_title.pl
@@ -391,7 +391,6 @@ ul.no-bullet {list-style: none}
 <h2 class="chapter">1 the chap</h2>
 
 
-<hr>
 </div>
 </div>
 
diff --git 
a/tp/t/results/html_tests/text_before_top_and_summarycontents_after_title.pl 
b/tp/t/results/html_tests/text_before_top_and_summarycontents_after_title.pl
index 9a00412740..90cf774942 100644
--- a/tp/t/results/html_tests/text_before_top_and_summarycontents_after_title.pl
+++ b/tp/t/results/html_tests/text_before_top_and_summarycontents_after_title.pl
@@ -389,7 +389,6 @@ ul.no-bullet {list-style: none}
 <h2 class="chapter">1 the chap</h2>
 
 
-<hr>
 </div>
 </div>
 
diff --git a/tp/t/results/html_tests/titles.pl 
b/tp/t/results/html_tests/titles.pl
index 4f8d61f0b7..debacb7d29 100644
--- a/tp/t/results/html_tests/titles.pl
+++ b/tp/t/results/html_tests/titles.pl
@@ -461,8 +461,7 @@ ul.no-bullet {list-style: none}
 <p>Top.
 </p>
 <p>Second paragraph.
-</p><hr>
-</div>
+</p></div>
 
 
 
diff --git 
a/tp/t/results/indices/default_cp_index_and_one_letter_syncodeindex.pl 
b/tp/t/results/indices/default_cp_index_and_one_letter_syncodeindex.pl
index c2a27b3fcc..66dc2e6a6c 100644
--- a/tp/t/results/indices/default_cp_index_and_one_letter_syncodeindex.pl
+++ b/tp/t/results/indices/default_cp_index_and_one_letter_syncodeindex.pl
@@ -398,7 +398,6 @@ 
$result_converted{'html_text'}->{'default_cp_index_and_one_letter_syncodeindex'}
 </table>
 <table><tr><th valign="top">Jump to: &nbsp; </th><td><a class="summary-letter" 
href="#t_h_fn_symbol-1"><b>-</b></a>
 </td></tr></table>
-<hr>
 ';
 
 1;
diff --git a/tp/t/results/indices/double_syncodeindex.pl 
b/tp/t/results/indices/double_syncodeindex.pl
index 5b28782d2d..09b3f1e3fe 100644
--- a/tp/t/results/indices/double_syncodeindex.pl
+++ b/tp/t/results/indices/double_syncodeindex.pl
@@ -488,7 +488,6 @@ $result_converted{'html_text'}->{'double_syncodeindex'} = '
 <a class="summary-letter" href="#t_h_fn_letter-F"><b>F</b></a>
  &nbsp; 
 </td></tr></table>
-<hr>
 ';
 
 1;
diff --git a/tp/t/results/indices/empty_cindex_entry.pl 
b/tp/t/results/indices/empty_cindex_entry.pl
index e6793e1d18..093c69bcb3 100644
--- a/tp/t/results/indices/empty_cindex_entry.pl
+++ b/tp/t/results/indices/empty_cindex_entry.pl
@@ -152,7 +152,6 @@ $result_converted{'plaintext'}->{'empty_cindex_entry'} = '';
 
 
 $result_converted{'html_text'}->{'empty_cindex_entry'} = '<h1 
class="node-heading" id="Top">Top</h1>
-<hr>
 ';
 
 1;
diff --git a/tp/t/results/indices/empty_index_entry.pl 
b/tp/t/results/indices/empty_index_entry.pl
index eb8a0429f6..e352f503d3 100644
--- a/tp/t/results/indices/empty_index_entry.pl
+++ b/tp/t/results/indices/empty_index_entry.pl
@@ -321,7 +321,6 @@ $result_converted{'html_text'}->{'empty_index_entry'} = 
'<h1 class="node-heading
 <dt><span class="category">: </span><strong></strong></dt>
 </dl>
 
-<hr>
 ';
 
 1;
diff --git a/tp/t/results/indices/empty_string_index_entry.pl 
b/tp/t/results/indices/empty_string_index_entry.pl
index c91a6ddcd4..b8cf76b26b 100644
--- a/tp/t/results/indices/empty_string_index_entry.pl
+++ b/tp/t/results/indices/empty_string_index_entry.pl
@@ -931,7 +931,6 @@ 
$result_converted{'html_text'}->{'empty_string_index_entry'} = '<h1 class="node-
 <dt id="index--3"><span class="category">Function: </span><span><strong><!-- 
/@w --></strong> <em> </em><a href=\'#index--3\' class=\'copiable-anchor\'> 
&para;</a></span></dt>
 </dl>
 
-<hr>
 ';
 
 $result_converted_errors{'html_text'}->{'empty_string_index_entry'} = [
diff --git a/tp/t/results/indices/encoding_index_ascii/res_html/index.html 
b/tp/t/results/indices/encoding_index_ascii/res_html/index.html
index a7835020ec..fccf6f82ab 100644
--- a/tp/t/results/indices/encoding_index_ascii/res_html/index.html
+++ b/tp/t/results/indices/encoding_index_ascii/res_html/index.html
@@ -386,7 +386,6 @@ ul.no-bullet {list-style: none}
 <a class="summary-letter" href="#Top_cp_letter-Z"><b>Z</b></a>
  &nbsp; 
 </td></tr></table>
-<hr>
 </div>
 
 
diff --git 
a/tp/t/results/indices/encoding_index_ascii_enable_encoding/res_html/index.html 
b/tp/t/results/indices/encoding_index_ascii_enable_encoding/res_html/index.html
index a7835020ec..fccf6f82ab 100644
--- 
a/tp/t/results/indices/encoding_index_ascii_enable_encoding/res_html/index.html
+++ 
b/tp/t/results/indices/encoding_index_ascii_enable_encoding/res_html/index.html
@@ -386,7 +386,6 @@ ul.no-bullet {list-style: none}
 <a class="summary-letter" href="#Top_cp_letter-Z"><b>Z</b></a>
  &nbsp; 
 </td></tr></table>
-<hr>
 </div>
 
 
diff --git a/tp/t/results/indices/encoding_index_latin1/res_html/index.html 
b/tp/t/results/indices/encoding_index_latin1/res_html/index.html
index 578d931283..1cfe1ab883 100644
--- a/tp/t/results/indices/encoding_index_latin1/res_html/index.html
+++ b/tp/t/results/indices/encoding_index_latin1/res_html/index.html
@@ -391,7 +391,6 @@ ul.no-bullet {list-style: none}
 <a class="summary-letter" href="#Top_cp_letter-�"><b>�</b></a>
  &nbsp; 
 </td></tr></table>
-<hr>
 </div>
 
 
diff --git 
a/tp/t/results/indices/encoding_index_latin1_enable_encoding/res_html/index.html
 
b/tp/t/results/indices/encoding_index_latin1_enable_encoding/res_html/index.html
index 8ecccb7bf3..e35f54d0c7 100644
--- 
a/tp/t/results/indices/encoding_index_latin1_enable_encoding/res_html/index.html
+++ 
b/tp/t/results/indices/encoding_index_latin1_enable_encoding/res_html/index.html
@@ -433,7 +433,6 @@ ul.no-bullet {list-style: none}
 <a class="summary-letter" href="#Top_cp_letter-�"><b>�</b></a>
  &nbsp; 
 </td></tr></table>
-<hr>
 </div>
 
 
diff --git a/tp/t/results/indices/encoding_index_utf8/res_html/index.html 
b/tp/t/results/indices/encoding_index_utf8/res_html/index.html
index 86c8679c5c..36a481b06a 100644
--- a/tp/t/results/indices/encoding_index_utf8/res_html/index.html
+++ b/tp/t/results/indices/encoding_index_utf8/res_html/index.html
@@ -391,7 +391,6 @@ ul.no-bullet {list-style: none}
 <a class="summary-letter" href="#Top_cp_letter-É"><b>É</b></a>
  &nbsp; 
 </td></tr></table>
-<hr>
 </div>
 
 
diff --git 
a/tp/t/results/indices/encoding_index_utf8_enable_encoding/res_html/index.html 
b/tp/t/results/indices/encoding_index_utf8_enable_encoding/res_html/index.html
index ac1eb84240..53786ff11a 100644
--- 
a/tp/t/results/indices/encoding_index_utf8_enable_encoding/res_html/index.html
+++ 
b/tp/t/results/indices/encoding_index_utf8_enable_encoding/res_html/index.html
@@ -445,7 +445,6 @@ ul.no-bullet {list-style: none}
 <a class="summary-letter" href="#Top_cp_letter-Ł"><b>Ł</b></a>
  &nbsp; 
 </td></tr></table>
-<hr>
 </div>
 
 
diff --git a/tp/t/results/indices/explicit_sort_key.pl 
b/tp/t/results/indices/explicit_sort_key.pl
index b057ca30bf..b441c8efae 100644
--- a/tp/t/results/indices/explicit_sort_key.pl
+++ b/tp/t/results/indices/explicit_sort_key.pl
@@ -1050,7 +1050,6 @@ $result_converted{'html_text'}->{'explicit_sort_key'} = 
'<div class="top" id="To
 <a class="summary-letter" href="#t_h_SK_letter-B"><b>B</b></a>
  &nbsp; 
 </td></tr></table>
-<hr>
 </div>
 ';
 
diff --git a/tp/t/results/indices/ftable_vtable.pl 
b/tp/t/results/indices/ftable_vtable.pl
index 97992bcbba..8366874502 100644
--- a/tp/t/results/indices/ftable_vtable.pl
+++ b/tp/t/results/indices/ftable_vtable.pl
@@ -989,7 +989,6 @@ $result_converted{'html_text'}->{'ftable_vtable'} = '
  &nbsp; 
 </td></tr></table>
 
-<hr>
 ';
 
 1;
diff --git a/tp/t/results/indices/image_lines_count.pl 
b/tp/t/results/indices/image_lines_count.pl
index c0aac5bca8..91e6b3d84d 100644
--- a/tp/t/results/indices/image_lines_count.pl
+++ b/tp/t/results/indices/image_lines_count.pl
@@ -317,7 +317,6 @@ $result_converted{'html_text'}->{'image_lines_count'} = 
'<h1 class="node-heading
 <table><tr><th valign="top">Jump to: &nbsp; </th><td><a class="summary-letter" 
href="#t_h_cp_letter-I"><b>I</b></a>
  &nbsp; 
 </td></tr></table>
-<hr>
 ';
 
 1;
diff --git a/tp/t/results/indices/image_text_lines_count.pl 
b/tp/t/results/indices/image_text_lines_count.pl
index 2e96e6e77b..621cfda855 100644
--- a/tp/t/results/indices/image_text_lines_count.pl
+++ b/tp/t/results/indices/image_text_lines_count.pl
@@ -316,7 +316,6 @@ $result_converted{'html_text'}->{'image_text_lines_count'} 
= '<h1 class="node-he
 <table><tr><th valign="top">Jump to: &nbsp; </th><td><a class="summary-letter" 
href="#t_h_cp_letter-I"><b>I</b></a>
  &nbsp; 
 </td></tr></table>
-<hr>
 ';
 
 $result_converted_errors{'html_text'}->{'image_text_lines_count'} = [
diff --git a/tp/t/results/indices/index_entries_locations.pl 
b/tp/t/results/indices/index_entries_locations.pl
index eefb014cc7..3d8ee6bc78 100644
--- a/tp/t/results/indices/index_entries_locations.pl
+++ b/tp/t/results/indices/index_entries_locations.pl
@@ -591,7 +591,6 @@ end paragraph.
 <a class="summary-letter" href="#t_h_cp_letter-L"><b>L</b></a>
  &nbsp; 
 </td></tr></table>
-<hr>
 ';
 
 1;
diff --git a/tp/t/results/indices/index_entry_before_first_node.pl 
b/tp/t/results/indices/index_entry_before_first_node.pl
index 81c3e52538..8791d833c6 100644
Binary files a/tp/t/results/indices/index_entry_before_first_node.pl and 
b/tp/t/results/indices/index_entry_before_first_node.pl differ
diff --git a/tp/t/results/indices/index_entry_in_footnote.pl 
b/tp/t/results/indices/index_entry_in_footnote.pl
index ba1f3eb1a2..ab588f2143 100644
--- a/tp/t/results/indices/index_entry_in_footnote.pl
+++ b/tp/t/results/indices/index_entry_in_footnote.pl
@@ -329,7 +329,6 @@ $result_converted{'html_text'}->{'index_entry_in_footnote'} 
= '<h1 class="node-h
 <a class="index-entry-anchor" id="index-index-entry-in-footnote"></a>
 </p>
 </div>
-<hr>
 ';
 
 1;
diff --git a/tp/t/results/indices/printindex_with_space_before.pl 
b/tp/t/results/indices/printindex_with_space_before.pl
index 69da379785..3cfb8a8ccc 100644
Binary files a/tp/t/results/indices/printindex_with_space_before.pl and 
b/tp/t/results/indices/printindex_with_space_before.pl differ
diff --git a/tp/t/results/indices/same_index_entry_merged_indices.pl 
b/tp/t/results/indices/same_index_entry_merged_indices.pl
index d0d3a349b9..e74f11f14d 100644
--- a/tp/t/results/indices/same_index_entry_merged_indices.pl
+++ b/tp/t/results/indices/same_index_entry_merged_indices.pl
@@ -776,7 +776,6 @@ 
$result_converted{'html_text'}->{'same_index_entry_merged_indices'} = '
 <table><tr><th valign="top">Jump to: &nbsp; </th><td><a class="summary-letter" 
href="#t_h_fn_letter-M"><b>M</b></a>
  &nbsp; 
 </td></tr></table>
-<hr>
 </div>
 ';
 
diff --git a/tp/t/results/indices/seealso_duplicate.pl 
b/tp/t/results/indices/seealso_duplicate.pl
index 536c82e455..48676ac076 100644
--- a/tp/t/results/indices/seealso_duplicate.pl
+++ b/tp/t/results/indices/seealso_duplicate.pl
@@ -471,7 +471,6 @@ $result_converted{'html_text'}->{'seealso_duplicate'} = 
'<h1 class="node-heading
 <table><tr><th valign="top">Jump to: &nbsp; </th><td><a class="summary-letter" 
href="#t_h_cp_letter-A"><b>A</b></a>
  &nbsp; 
 </td></tr></table>
-<hr>
 ';
 
 1;
diff --git a/tp/t/results/indices/syncodeindex_to_plain.pl 
b/tp/t/results/indices/syncodeindex_to_plain.pl
index 55cec4a2e9..971013fcb0 100644
--- a/tp/t/results/indices/syncodeindex_to_plain.pl
+++ b/tp/t/results/indices/syncodeindex_to_plain.pl
@@ -557,7 +557,6 @@ $result_converted{'html_text'}->{'syncodeindex_to_plain'} = 
'
 </table>
 <table><tr><th valign="top">Jump to: &nbsp; </th><td><a class="summary-letter" 
href="#t_h_vr_symbol-1"><b>-</b></a>
 </td></tr></table>
-<hr>
 ';
 
 1;
diff --git a/tp/t/results/indices/transparent_sort_chars.pl 
b/tp/t/results/indices/transparent_sort_chars.pl
index 276de82b72..e44798b098 100644
--- a/tp/t/results/indices/transparent_sort_chars.pl
+++ b/tp/t/results/indices/transparent_sort_chars.pl
@@ -515,7 +515,6 @@ $result_converted{'html_text'}->{'transparent_sort_chars'} 
= '
 <a class="summary-letter" href="#t_h_cp_letter-V"><b>V</b></a>
  &nbsp; 
 </td></tr></table>
-<hr>
 </div>
 ';
 
diff --git a/tp/t/results/indices/w_lines_count.pl 
b/tp/t/results/indices/w_lines_count.pl
index bf7de01826..9c746f2436 100644
--- a/tp/t/results/indices/w_lines_count.pl
+++ b/tp/t/results/indices/w_lines_count.pl
@@ -467,7 +467,6 @@ $result_converted{'html_text'}->{'w_lines_count'} = '<div 
class="top" id="Top">
 <table><tr><th valign="top">Jump to: &nbsp; </th><td><a class="summary-letter" 
href="#t_h_fn_letter-C"><b>C</b></a>
  &nbsp; 
 </td></tr></table>
-<hr>
 </div>
 ';
 
diff --git a/tp/t/results/languages/appendix_translated.pl 
b/tp/t/results/languages/appendix_translated.pl
index 41efb7920e..188aac7c05 100644
--- a/tp/t/results/languages/appendix_translated.pl
+++ b/tp/t/results/languages/appendix_translated.pl
@@ -394,7 +394,6 @@ ul.no-bullet {list-style: none}
 <div class="appendix" id="dernier">
 <h2 class="appendix">Annexe A dernier</h2>
 
-<hr>
 </div>
 </div>
 
diff --git a/tp/t/results/languages/command_translated.pl 
b/tp/t/results/languages/command_translated.pl
index 70a8cde535..d092ea5e0f 100644
--- a/tp/t/results/languages/command_translated.pl
+++ b/tp/t/results/languages/command_translated.pl
@@ -345,8 +345,7 @@ ul.no-bullet {list-style: none}
 <h1 class="top" id="top-error_002d_002d_003e">top erreur&rarr;</h1>
 
 <p>erreur&rarr;
-</p><hr>
-</div>
+</p></div>
 
 
 
diff --git a/tp/t/results/languages/multiple.pl 
b/tp/t/results/languages/multiple.pl
index b7706ab190..0b82137c8a 100644
--- a/tp/t/results/languages/multiple.pl
+++ b/tp/t/results/languages/multiple.pl
@@ -1140,7 +1140,6 @@ ul.no-bullet {list-style: none}
 <a class="summary-letter" href="#Top_vr_letter-B"><b>B</b></a>
  &nbsp; 
 </td></tr></table>
-<hr>
 
 
 
diff --git a/tp/t/results/languages/unknown_language.pl 
b/tp/t/results/languages/unknown_language.pl
index 4d093b91c1..ff7e3299c1 100644
--- a/tp/t/results/languages/unknown_language.pl
+++ b/tp/t/results/languages/unknown_language.pl
@@ -490,8 +490,7 @@ ul.no-bullet {list-style: none}
 </p>
 
 <p>Another unknown language. See <a href="#Top">unknkown language</a>.
-</p><hr>
-</div>
+</p></div>
 
 
 
diff --git a/tp/t/results/languages/unknown_region.pl 
b/tp/t/results/languages/unknown_region.pl
index db4a782e15..9572e8dea5 100644
--- a/tp/t/results/languages/unknown_region.pl
+++ b/tp/t/results/languages/unknown_region.pl
@@ -430,7 +430,6 @@ ul.no-bullet {list-style: none}
 <dl class="def">
 <dt id="index-BBB-of-AAA"><span>Variable d\'instance de AAA&nbsp;: 
<strong>BBB</strong> <em>CCC</em><a href=\'#index-BBB-of-AAA\' 
class=\'copiable-anchor\'> &para;</a></span></dt>
 </dl>
-<hr>
 
 
 
diff --git a/tp/t/results/menu/block_commands_in_menu_description.pl 
b/tp/t/results/menu/block_commands_in_menu_description.pl
index dca0d630b8..32a48077e0 100644
--- a/tp/t/results/menu/block_commands_in_menu_description.pl
+++ b/tp/t/results/menu/block_commands_in_menu_description.pl
@@ -901,7 +901,6 @@ Text.
 <pre class="verbatim">
 </pre></td></tr>
 </table>
-<hr>
 </div>
 
 
diff --git a/tp/t/results/menu/detailmenu_unknown_node.pl 
b/tp/t/results/menu/detailmenu_unknown_node.pl
index b0c05cba7c..decc55b646 100644
--- a/tp/t/results/menu/detailmenu_unknown_node.pl
+++ b/tp/t/results/menu/detailmenu_unknown_node.pl
@@ -379,7 +379,6 @@ ul.no-bullet {list-style: none}
 <tr><td align="left" valign="top">&bull; unknown:</td><td>&nbsp;&nbsp;</td><td 
align="left" valign="top">
 </td></tr>
 </table>
-<hr>
 
 
 
diff --git a/tp/t/results/menu/example_in_menu_description.pl 
b/tp/t/results/menu/example_in_menu_description.pl
index f2fa06ffa4..d91d2176c0 100644
--- a/tp/t/results/menu/example_in_menu_description.pl
+++ b/tp/t/results/menu/example_in_menu_description.pl
@@ -533,7 +533,6 @@ example
 <tr><th colspan="3" align="left" valign="top"><pre class="menu-comment">
 
 </pre></th></tr></table>
-<hr>
 </div>
 
 
diff --git a/tp/t/results/menu/formats_in_menu.pl 
b/tp/t/results/menu/formats_in_menu.pl
index d682341765..75e521aaa2 100644
--- a/tp/t/results/menu/formats_in_menu.pl
+++ b/tp/t/results/menu/formats_in_menu.pl
@@ -1091,7 +1091,6 @@ Menu comment
 <pre class="menu-comment">
 
 </pre></th></tr></table>
-<hr>
 
 
 
diff --git a/tp/t/results/menu/inlineraw_in_menu_description.pl 
b/tp/t/results/menu/inlineraw_in_menu_description.pl
index 46ecfb898f..5bf6d8ffcd 100644
--- a/tp/t/results/menu/inlineraw_in_menu_description.pl
+++ b/tp/t/results/menu/inlineraw_in_menu_description.pl
@@ -502,7 +502,6 @@ end inlineraw
 <tr><th colspan="3" align="left" valign="top"><pre class="menu-comment">
 
 </pre></th></tr></table>
-<hr>
 </div>
 
 
diff --git a/tp/t/results/menu/invalid_info_menu_entry.pl 
b/tp/t/results/menu/invalid_info_menu_entry.pl
index 94caa01b4f..66a8b95fe9 100644
--- a/tp/t/results/menu/invalid_info_menu_entry.pl
+++ b/tp/t/results/menu/invalid_info_menu_entry.pl
@@ -941,7 +941,6 @@ ul.no-bullet {list-style: none}
 <tr><td align="left" valign="top">&bull; <a href="f.html#node-n" 
accesskey="5">name</a>:</td><td>&nbsp;&nbsp;</td><td align="left" 
valign="top">d3
 </td></tr>
 </table>
-<hr>
 
 
 
diff --git a/tp/t/results/menu/menu_in_example.pl 
b/tp/t/results/menu/menu_in_example.pl
index 393c60da42..53da00da73 100644
--- a/tp/t/results/menu/menu_in_example.pl
+++ b/tp/t/results/menu/menu_in_example.pl
@@ -793,7 +793,6 @@ ul.no-bullet {list-style: none}
 
 </pre></td></tr></table>
 </div>
-<hr>
 
 
 
diff --git a/tp/t/results/menu/menu_pointing_to_anchor.pl 
b/tp/t/results/menu/menu_pointing_to_anchor.pl
index 808b27e312..6db3a9589a 100644
--- a/tp/t/results/menu/menu_pointing_to_anchor.pl
+++ b/tp/t/results/menu/menu_pointing_to_anchor.pl
@@ -475,7 +475,6 @@ ul.no-bullet {list-style: none}
 <tr><td align="left" valign="top">&bull; <a href="#An-anchor" accesskey="1">An 
anchor</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">menu entry 
pointing to the anchor.
 </td></tr>
 </table>
-<hr>
 </div>
 
 
diff --git a/tp/t/results/menu/no_colon_in_menu.pl 
b/tp/t/results/menu/no_colon_in_menu.pl
index 755c4a4ae4..3be0c40cfb 100644
--- a/tp/t/results/menu/no_colon_in_menu.pl
+++ b/tp/t/results/menu/no_colon_in_menu.pl
@@ -259,7 +259,6 @@ ul.no-bullet {list-style: none}
 <table class="menu" border="0" cellspacing="0">
 <tr><th colspan="3" align="left" valign="top"><pre class="menu-comment">* a
 </pre></th></tr></table>
-<hr>
 
 
 
diff --git a/tp/t/results/menu/reference_to_external_manual.pl 
b/tp/t/results/menu/reference_to_external_manual.pl
index b41fe434f3..e5b97c36af 100644
--- a/tp/t/results/menu/reference_to_external_manual.pl
+++ b/tp/t/results/menu/reference_to_external_manual.pl
@@ -347,7 +347,6 @@ ul.no-bullet {list-style: none}
 <tr><td align="left" valign="top">&bull; <a href="info.html#Top" 
accesskey="1">(info)</a>:</td><td>&nbsp;&nbsp;</td><td align="left" 
valign="top">
 </td></tr>
 </table>
-<hr>
 
 
 
diff --git a/tp/t/results/menu/submenu_in_example.pl 
b/tp/t/results/menu/submenu_in_example.pl
index 2f225c1243..e3eeb9aafe 100644
--- a/tp/t/results/menu/submenu_in_example.pl
+++ b/tp/t/results/menu/submenu_in_example.pl
@@ -957,7 +957,6 @@ in example
 
 </pre></td></tr></table>
 </div>
-<hr>
 
 
 
diff --git a/tp/t/results/menu/verb_in_menu_description.pl 
b/tp/t/results/menu/verb_in_menu_description.pl
index 88c483fa3e..ac1b8bbdb2 100644
--- a/tp/t/results/menu/verb_in_menu_description.pl
+++ b/tp/t/results/menu/verb_in_menu_description.pl
@@ -486,7 +486,6 @@ ul.no-bullet {list-style: none}
 <tr><th colspan="3" align="left" valign="top"><pre class="menu-comment">
 
 </pre></th></tr></table>
-<hr>
 </div>
 
 
diff --git 
a/tp/t/results/misc_commands/codequoteundirected_codequotebacktick.pl 
b/tp/t/results/misc_commands/codequoteundirected_codequotebacktick.pl
index 19cd919125..a524319c2a 100644
--- a/tp/t/results/misc_commands/codequoteundirected_codequotebacktick.pl
+++ b/tp/t/results/misc_commands/codequoteundirected_codequotebacktick.pl
@@ -5376,7 +5376,6 @@ samp: &lsquo;<samp>``simple-double--three---four----\'\' 
`simple\' quotedblleft:
 
 </pre></div>
 
-<hr>
 </div>
 ';
 
diff --git a/tp/t/results/misc_commands/comment_space_command_on_line.pl 
b/tp/t/results/misc_commands/comment_space_command_on_line.pl
index 5a4d53bea5..e500624845 100644
--- a/tp/t/results/misc_commands/comment_space_command_on_line.pl
+++ b/tp/t/results/misc_commands/comment_space_command_on_line.pl
@@ -871,7 +871,6 @@ 
$result_converted{'html_text'}->{'comment_space_command_on_line'} = '
 </p><div class="float-caption"><p><strong>Text 1
 </strong></p></div></div>
 
-<hr>
 </div>
 ';
 
diff --git a/tp/t/results/misc_commands/no_empty_line_between_headings.pl 
b/tp/t/results/misc_commands/no_empty_line_between_headings.pl
index bb288a58f6..8028b0a9f2 100644
--- a/tp/t/results/misc_commands/no_empty_line_between_headings.pl
+++ b/tp/t/results/misc_commands/no_empty_line_between_headings.pl
@@ -246,7 +246,6 @@ 
$result_converted{'html_text'}->{'no_empty_line_between_headings'} = '<div class
 </ul>
 <div class="section" id="Section">
 <h3 class="section">1.1 Section</h3>
-<hr>
 </div>
 </div>
 </div>
diff --git a/tp/t/results/misc_commands/ref_in_center.pl 
b/tp/t/results/misc_commands/ref_in_center.pl
index 1c1d35e2e5..9b4c63b547 100644
--- a/tp/t/results/misc_commands/ref_in_center.pl
+++ b/tp/t/results/misc_commands/ref_in_center.pl
@@ -296,8 +296,7 @@ $result_converted{'html_text'}->{'ref_in_center'} = '<h1 
class="node-heading" id
 <div class="center-align">&lsquo;title
 &rsquo;
 </div><p>very long
-</p><hr>
-';
+</p>';
 
 
 $result_converted{'docbook'}->{'ref_in_center'} = '<anchor id="Top"/>
diff --git a/tp/t/results/misc_commands/test_allowcodebreaks.pl 
b/tp/t/results/misc_commands/test_allowcodebreaks.pl
index 30b36cdff8..2e8e2a8ace 100644
--- a/tp/t/results/misc_commands/test_allowcodebreaks.pl
+++ b/tp/t/results/misc_commands/test_allowcodebreaks.pl
@@ -2781,7 +2781,6 @@ anc-hor<a class="anchor" id="A-node2"></a></samp>&rsquo;
 <div class="example">
 <pre class="example"><code>in-example</code>
 </pre></div>
-<hr>
 ';
 
 1;
diff --git a/tp/t/results/regions/anchor_in_copying.pl 
b/tp/t/results/regions/anchor_in_copying.pl
index 2b1927dcc3..8488bebc46 100644
--- a/tp/t/results/regions/anchor_in_copying.pl
+++ b/tp/t/results/regions/anchor_in_copying.pl
@@ -480,7 +480,6 @@ ul.no-bullet {list-style: none}
 
 <p>See <a href="#Copying-information">Copying information</a>.
 </p>
-<hr>
 
 
 
diff --git a/tp/t/results/regions/anchor_in_copying_in_footnote.pl 
b/tp/t/results/regions/anchor_in_copying_in_footnote.pl
index 4fad1e4f04..03580dae45 100644
--- a/tp/t/results/regions/anchor_in_copying_in_footnote.pl
+++ b/tp/t/results/regions/anchor_in_copying_in_footnote.pl
@@ -537,7 +537,6 @@ ul.no-bullet {list-style: none}
 <p>In footnote.
 <a class="anchor" id="Copying-footnote"></a></p>
 </div>
-<hr>
 
 
 
diff --git a/tp/t/results/regions/anchor_in_titlepage.pl 
b/tp/t/results/regions/anchor_in_titlepage.pl
index ce98975c35..53a540845b 100644
--- a/tp/t/results/regions/anchor_in_titlepage.pl
+++ b/tp/t/results/regions/anchor_in_titlepage.pl
@@ -404,8 +404,7 @@ ul.no-bullet {list-style: none}
 <h1 class="node-heading" id="Top">Top</h1>
 
 <p>See <a href="#in-titlepage">in titlepage</a>.
-</p><hr>
-</div>
+</p></div>
 
 
 
diff --git a/tp/t/results/regions/anchor_in_titlepage_titlepage.pl 
b/tp/t/results/regions/anchor_in_titlepage_titlepage.pl
index ffeea25e99..4d42d42665 100644
--- a/tp/t/results/regions/anchor_in_titlepage_titlepage.pl
+++ b/tp/t/results/regions/anchor_in_titlepage_titlepage.pl
@@ -406,8 +406,7 @@ ul.no-bullet {list-style: none}
 <h1 class="node-heading" id="Top">Top</h1>
 
 <p>See <a href="#in-titlepage">in titlepage</a>.
-</p><hr>
-</div>
+</p></div>
 
 
 
diff --git a/tp/t/results/regions/format_in_titlepage.pl 
b/tp/t/results/regions/format_in_titlepage.pl
index 8336df12cb..e58659c684 100644
--- a/tp/t/results/regions/format_in_titlepage.pl
+++ b/tp/t/results/regions/format_in_titlepage.pl
@@ -335,7 +335,6 @@ ul.no-bullet {list-style: none}
 
 <h1 class="node-heading" id="Top">Top</h1>
 
-<hr>
 
 
 
diff --git a/tp/t/results/regions/format_in_titlepage_titlepage.pl 
b/tp/t/results/regions/format_in_titlepage_titlepage.pl
index 16c8f5c7c8..5213206826 100644
--- a/tp/t/results/regions/format_in_titlepage_titlepage.pl
+++ b/tp/t/results/regions/format_in_titlepage_titlepage.pl
@@ -341,7 +341,6 @@ ul.no-bullet {list-style: none}
 
 <h1 class="node-heading" id="Top">Top</h1>
 
-<hr>
 
 
 
diff --git a/tp/t/results/regions/today_in_copying.pl 
b/tp/t/results/regions/today_in_copying.pl
index 0061d2f3aa..4f7c7e4104 100644
--- a/tp/t/results/regions/today_in_copying.pl
+++ b/tp/t/results/regions/today_in_copying.pl
@@ -370,8 +370,7 @@ ul.no-bullet {list-style: none}
 <h1 class="top" id="top">top</h1>
 
 <p>a sunny day.
-</p><hr>
-</div>
+</p></div>
 
 
 
diff --git a/tp/t/results/sectioning/anchor_zero.pl 
b/tp/t/results/sectioning/anchor_zero.pl
index 75eedd220d..3bb650fdfa 100644
--- a/tp/t/results/sectioning/anchor_zero.pl
+++ b/tp/t/results/sectioning/anchor_zero.pl
@@ -284,8 +284,7 @@ ul.no-bullet {list-style: none}
 <a class="anchor" id="g_t0"></a><p>.
 </p>
 <p>See <a href="#g_t0">0</a>.
-</p><hr>
-
+</p>
 
 
 </body>
diff --git a/tp/t/results/sectioning/chapter_before_and_after_part.pl 
b/tp/t/results/sectioning/chapter_before_and_after_part.pl
index f2681919da..78f78602dc 100644
--- a/tp/t/results/sectioning/chapter_before_and_after_part.pl
+++ b/tp/t/results/sectioning/chapter_before_and_after_part.pl
@@ -410,7 +410,6 @@ ul.no-bullet {list-style: none}
 </ul>
 </div>
 </div>
-<hr>
 </div>
 </div>
 
diff --git a/tp/t/results/sectioning/chapter_before_part.pl 
b/tp/t/results/sectioning/chapter_before_part.pl
index 1d63d58089..ae8f024e0e 100644
--- a/tp/t/results/sectioning/chapter_before_part.pl
+++ b/tp/t/results/sectioning/chapter_before_part.pl
@@ -281,7 +281,6 @@ ul.no-bullet {list-style: none}
 <div class="part" id="part">
 <h1 class="part">part</h1>
 <hr>
-<hr>
 </div>
 
 
diff --git a/tp/t/results/sectioning/contents.pl 
b/tp/t/results/sectioning/contents.pl
index 1410f8f182..19a4929158 100644
--- a/tp/t/results/sectioning/contents.pl
+++ b/tp/t/results/sectioning/contents.pl
@@ -904,7 +904,6 @@ ul.no-bullet {list-style: none}
 <div class="appendixsec" id="appendixsec">
 <h3 class="appendixsec">A.1 appendixsec</h3>
 
-<hr>
 </div>
 </div>
 </div>
diff --git a/tp/t/results/sectioning/contents_and_shortcontents.pl 
b/tp/t/results/sectioning/contents_and_shortcontents.pl
index 7ca5c3bce9..dc860805fb 100644
--- a/tp/t/results/sectioning/contents_and_shortcontents.pl
+++ b/tp/t/results/sectioning/contents_and_shortcontents.pl
@@ -959,7 +959,6 @@ ul.no-bullet {list-style: none}
 <h3 class="appendixsec">A.1 appendixsec</h3>
 
 
-<hr>
 </div>
 </div>
 </div>
diff --git a/tp/t/results/sectioning/contents_in_html_text.pl 
b/tp/t/results/sectioning/contents_in_html_text.pl
index 6208da4eca..9a5829e5ac 100644
--- a/tp/t/results/sectioning/contents_in_html_text.pl
+++ b/tp/t/results/sectioning/contents_in_html_text.pl
@@ -360,7 +360,6 @@ $result_converted{'html_text'}->{'contents_in_html_text'} = 
'<div class="top" id
 </ul>
 </div>
 </div>
-<hr>
 </div>
 </div>
 ';
diff --git a/tp/t/results/sectioning/contents_with_only_top_node.pl 
b/tp/t/results/sectioning/contents_with_only_top_node.pl
index 7611ca7f98..2278e8cbb0 100644
--- a/tp/t/results/sectioning/contents_with_only_top_node.pl
+++ b/tp/t/results/sectioning/contents_with_only_top_node.pl
@@ -185,7 +185,6 @@ ul.no-bullet {list-style: none}
 
 <h1 class="node-heading" id="Top">Top</h1>
 
-<hr>
 
 
 
diff --git a/tp/t/results/sectioning/equivalent_labels.pl 
b/tp/t/results/sectioning/equivalent_labels.pl
index 4558d3ca33..49da87ecb5 100644
--- a/tp/t/results/sectioning/equivalent_labels.pl
+++ b/tp/t/results/sectioning/equivalent_labels.pl
@@ -718,7 +718,6 @@ ul.no-bullet {list-style: none}
 <p>In float
 </p><div class="float-caption"><p><strong>truc 1
 </strong></p></div></div>
-<hr>
 
 
 
diff --git a/tp/t/results/sectioning/no_argument_and_contents.pl 
b/tp/t/results/sectioning/no_argument_and_contents.pl
index 72c6054b4e..a3407a365b 100644
--- a/tp/t/results/sectioning/no_argument_and_contents.pl
+++ b/tp/t/results/sectioning/no_argument_and_contents.pl
@@ -272,7 +272,6 @@ ul.no-bullet {list-style: none}
 <div class="chapter">
 <h2 class="chapter">1 </h2>
 
-<hr>
 </div>
 </div>
 
diff --git a/tp/t/results/sectioning/node_sectop_before_chapter_no_node.pl 
b/tp/t/results/sectioning/node_sectop_before_chapter_no_node.pl
index 39323f75bb..fe8271d583 100644
--- a/tp/t/results/sectioning/node_sectop_before_chapter_no_node.pl
+++ b/tp/t/results/sectioning/node_sectop_before_chapter_no_node.pl
@@ -328,7 +328,6 @@ ul.no-bullet {list-style: none}
 </ul>
 <div class="chapter" id="chap">
 <h2 class="chapter">1 chap</h2>
-<hr>
 </div>
 </div>
 
diff --git a/tp/t/results/sectioning/node_up_direction_for_top_with_manual.pl 
b/tp/t/results/sectioning/node_up_direction_for_top_with_manual.pl
index 1848ca9a85..de6c6f15c0 100644
--- a/tp/t/results/sectioning/node_up_direction_for_top_with_manual.pl
+++ b/tp/t/results/sectioning/node_up_direction_for_top_with_manual.pl
@@ -221,7 +221,6 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 <h1 class="node-heading" id="Top">Top</h1>
-<hr>
 
 
 
diff --git a/tp/t/results/sectioning/one_node_explicit_directions_anchor.pl 
b/tp/t/results/sectioning/one_node_explicit_directions_anchor.pl
index bec2f6efcb..f8ef18bd57 100644
--- a/tp/t/results/sectioning/one_node_explicit_directions_anchor.pl
+++ b/tp/t/results/sectioning/one_node_explicit_directions_anchor.pl
@@ -373,8 +373,7 @@ ul.no-bullet {list-style: none}
 <p>anchor ref <a class="anchor" id="ref"></a>.
 </p>
 <p>ref to ref <a href="#ref">ref</a>.
-</p><hr>
-
+</p>
 
 
 </body>
diff --git a/tp/t/results/sectioning/one_subsection.pl 
b/tp/t/results/sectioning/one_subsection.pl
index 0c7abdc8e9..5f94c3bcee 100644
--- a/tp/t/results/sectioning/one_subsection.pl
+++ b/tp/t/results/sectioning/one_subsection.pl
@@ -136,7 +136,6 @@ ul.no-bullet {list-style: none}
 <body lang="en">
 <div class="subsection" id="The-subsection">
 <h4 class="subsection">1 The subsection</h4>
-<hr>
 </div>
 
 
diff --git a/tp/t/results/sectioning/one_subsection_and_node.pl 
b/tp/t/results/sectioning/one_subsection_and_node.pl
index ad75f9d653..7ec25eccb3 100644
--- a/tp/t/results/sectioning/one_subsection_and_node.pl
+++ b/tp/t/results/sectioning/one_subsection_and_node.pl
@@ -241,7 +241,6 @@ ul.no-bullet {list-style: none}
 <body lang="en">
 <div class="subsection" id="one-node">
 <h4 class="subsection" id="The-subsection">1 The subsection</h4>
-<hr>
 </div>
 
 
diff --git a/tp/t/results/sectioning/part_before_chapter.pl 
b/tp/t/results/sectioning/part_before_chapter.pl
index 900015ce37..bdf7856c87 100644
--- a/tp/t/results/sectioning/part_before_chapter.pl
+++ b/tp/t/results/sectioning/part_before_chapter.pl
@@ -249,7 +249,6 @@ ul.no-bullet {list-style: none}
 </ul>
 <div class="chapter" id="chapter">
 <h2 class="chapter">1 chapter</h2>
-<hr>
 </div>
 </div>
 
diff --git a/tp/t/results/sectioning/part_before_section.pl 
b/tp/t/results/sectioning/part_before_section.pl
index 6d5935abdc..98541b2c98 100644
--- a/tp/t/results/sectioning/part_before_section.pl
+++ b/tp/t/results/sectioning/part_before_section.pl
@@ -207,7 +207,6 @@ $result_converted{'html_text'}->{'part_before_section'} = 
'<div class="part" id=
 </ul>
 <div class="section" id="section">
 <h2 class="chapter">1 section</h2>
-<hr>
 </div>
 </div>
 ';
diff --git a/tp/t/results/sectioning/part_before_top.pl 
b/tp/t/results/sectioning/part_before_top.pl
index 1d28814b7b..c9a9fc7d59 100644
--- a/tp/t/results/sectioning/part_before_top.pl
+++ b/tp/t/results/sectioning/part_before_top.pl
@@ -254,7 +254,6 @@ ul.no-bullet {list-style: none}
 </div>
 <div class="top" id="top">
 <h1 class="top">top</h1>
-<hr>
 </div>
 
 
diff --git a/tp/t/results/sectioning/placed_things_before_element.pl 
b/tp/t/results/sectioning/placed_things_before_element.pl
index ad1921ed9e..6176b34b0d 100644
--- a/tp/t/results/sectioning/placed_things_before_element.pl
+++ b/tp/t/results/sectioning/placed_things_before_element.pl
@@ -1168,7 +1168,6 @@ ul.no-bullet {list-style: none}
 <a href="#An-anchor">An anchor</a>
 </p>
 </div>
-<hr>
 </div>
 
 
diff --git a/tp/t/results/sectioning/placed_things_before_node.pl 
b/tp/t/results/sectioning/placed_things_before_node.pl
index 11c0783d60..16d3335b77 100644
--- a/tp/t/results/sectioning/placed_things_before_node.pl
+++ b/tp/t/results/sectioning/placed_things_before_node.pl
@@ -1234,7 +1234,6 @@ ul.no-bullet {list-style: none}
 <a href="#An-anchor">An anchor</a>
 </p>
 </div>
-<hr>
 </div>
 
 
diff --git a/tp/t/results/sectioning/ref_to_top.pl 
b/tp/t/results/sectioning/ref_to_top.pl
index d9f03e1c17..2fabe63027 100644
--- a/tp/t/results/sectioning/ref_to_top.pl
+++ b/tp/t/results/sectioning/ref_to_top.pl
@@ -313,8 +313,7 @@ ul.no-bullet {list-style: none}
 <h1 class="top" id="top">top</h1>
 
 <p>See <a href="#Top">top</a>.
-</p><hr>
-</div>
+</p></div>
 
 
 
diff --git a/tp/t/results/sectioning/section_before_after_top_node.pl 
b/tp/t/results/sectioning/section_before_after_top_node.pl
index 5fcd91dca2..63f1658673 100644
--- a/tp/t/results/sectioning/section_before_after_top_node.pl
+++ b/tp/t/results/sectioning/section_before_after_top_node.pl
@@ -446,8 +446,7 @@ ul.no-bullet {list-style: none}
 <h2 class="chapter">1 Chapter</h2>
 
 <p>in chapter
-</p><hr>
-</div>
+</p></div>
 
 
 
diff --git a/tp/t/results/sectioning/section_before_part.pl 
b/tp/t/results/sectioning/section_before_part.pl
index 0040599f87..08641c4fe1 100644
--- a/tp/t/results/sectioning/section_before_part.pl
+++ b/tp/t/results/sectioning/section_before_part.pl
@@ -269,7 +269,6 @@ ul.no-bullet {list-style: none}
 </ul>
 </div>
 </div>
-<hr>
 </div>
 
 
diff --git a/tp/t/results/sectioning/section_below_unnumbered_no_top.pl 
b/tp/t/results/sectioning/section_below_unnumbered_no_top.pl
index a17cac5267..aa54e5b64e 100644
--- a/tp/t/results/sectioning/section_below_unnumbered_no_top.pl
+++ b/tp/t/results/sectioning/section_below_unnumbered_no_top.pl
@@ -189,7 +189,6 @@ ul.no-bullet {list-style: none}
 </ul>
 <div class="section" id="S">
 <h3 class="section">S</h3>
-<hr>
 </div>
 </div>
 
diff --git a/tp/t/results/sectioning/section_node_before_part.pl 
b/tp/t/results/sectioning/section_node_before_part.pl
index 12180856fb..60611d1669 100644
--- a/tp/t/results/sectioning/section_node_before_part.pl
+++ b/tp/t/results/sectioning/section_node_before_part.pl
@@ -321,7 +321,6 @@ ul.no-bullet {list-style: none}
 <div class="part" id="part">
 <h1 class="part">part</h1>
 <hr>
-<hr>
 </div>
 
 
diff --git a/tp/t/results/sectioning/sections_test.pl 
b/tp/t/results/sectioning/sections_test.pl
index 9549d55c9e..c073762a44 100644
--- a/tp/t/results/sectioning/sections_test.pl
+++ b/tp/t/results/sectioning/sections_test.pl
@@ -832,7 +832,6 @@ ul.no-bullet {list-style: none}
 </ul>
 <div class="appendixsec" id="appendixsec">
 <h3 class="appendixsec">A.1 appendixsec</h3>
-<hr>
 </div>
 </div>
 </div>
diff --git a/tp/t/results/sectioning/setfilename_on_top_and_after_node.pl 
b/tp/t/results/sectioning/setfilename_on_top_and_after_node.pl
index 7c51a69e9b..01f151574f 100644
--- a/tp/t/results/sectioning/setfilename_on_top_and_after_node.pl
+++ b/tp/t/results/sectioning/setfilename_on_top_and_after_node.pl
@@ -330,7 +330,6 @@ ul.no-bullet {list-style: none}
 <div class="top" id="Top">
 <h1 class="top" id="In-top-">In top </h1>
 
-<hr>
 </div>
 
 
diff --git a/tp/t/results/sectioning/shortcontents.pl 
b/tp/t/results/sectioning/shortcontents.pl
index c41f830896..4f67df32ef 100644
--- a/tp/t/results/sectioning/shortcontents.pl
+++ b/tp/t/results/sectioning/shortcontents.pl
@@ -885,7 +885,6 @@ ul.no-bullet {list-style: none}
 <div class="appendixsec" id="appendixsec">
 <h3 class="appendixsec">A.1 appendixsec</h3>
 
-<hr>
 </div>
 </div>
 </div>
diff --git a/tp/t/results/sectioning/top_no_argument_and_content.pl 
b/tp/t/results/sectioning/top_no_argument_and_content.pl
index e59a8c9179..baba681d60 100644
--- a/tp/t/results/sectioning/top_no_argument_and_content.pl
+++ b/tp/t/results/sectioning/top_no_argument_and_content.pl
@@ -146,8 +146,7 @@ ul.no-bullet {list-style: none}
 <div class="top" id="SEC_Top">
 
 <p>A.
-</p><hr>
-</div>
+</p></div>
 
 
 
diff --git a/tp/t/results/sectioning/top_no_argument_and_node.pl 
b/tp/t/results/sectioning/top_no_argument_and_node.pl
index 6c23695b0c..3bcd01f88c 100644
--- a/tp/t/results/sectioning/top_no_argument_and_node.pl
+++ b/tp/t/results/sectioning/top_no_argument_and_node.pl
@@ -221,8 +221,7 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 <div class="top" id="start">
-<a class="top-anchor" id="SEC_Top"></a><hr>
-</div>
+<a class="top-anchor" id="SEC_Top"></a></div>
 
 
 
diff --git a/tp/t/results/sectioning/top_no_argument_and_top_node.pl 
b/tp/t/results/sectioning/top_no_argument_and_top_node.pl
index 69a3d88c5c..98df049066 100644
--- a/tp/t/results/sectioning/top_no_argument_and_top_node.pl
+++ b/tp/t/results/sectioning/top_no_argument_and_top_node.pl
@@ -211,8 +211,7 @@ ul.no-bullet {list-style: none}
 
 <body lang="en">
 <div class="top" id="Top">
-<a class="top-anchor" id="SEC_Top"></a><hr>
-</div>
+<a class="top-anchor" id="SEC_Top"></a></div>
 
 
 
diff --git a/tp/t/results/sectioning/top_node_part_top.pl 
b/tp/t/results/sectioning/top_node_part_top.pl
index 0628345463..841cc06a97 100644
--- a/tp/t/results/sectioning/top_node_part_top.pl
+++ b/tp/t/results/sectioning/top_node_part_top.pl
@@ -384,7 +384,6 @@ ul.no-bullet {list-style: none}
 <hr>
 
 <h1 class="top" id="top">top</h1>
-<hr>
 </div>
 
 
diff --git a/tp/t/results/sectioning/top_without_node_nodes.pl 
b/tp/t/results/sectioning/top_without_node_nodes.pl
index d72503970f..63d03b77e7 100644
--- a/tp/t/results/sectioning/top_without_node_nodes.pl
+++ b/tp/t/results/sectioning/top_without_node_nodes.pl
@@ -464,8 +464,7 @@ ul.no-bullet {list-style: none}
 <h2 class="chapter" id="Chapter">1 Chapter</h2>
 
 <p>Text of chapter
-</p><hr>
-</div>
+</p></div>
 </div>
 
 
diff --git a/tp/t/results/sectioning/top_without_node_sections.pl 
b/tp/t/results/sectioning/top_without_node_sections.pl
index 07287e8838..76dfd4d1b2 100644
--- a/tp/t/results/sectioning/top_without_node_sections.pl
+++ b/tp/t/results/sectioning/top_without_node_sections.pl
@@ -512,8 +512,7 @@ ul.no-bullet {list-style: none}
 <h2 class="chapter" id="Chapter">1 Chapter</h2>
 
 <p>Text of chapter
-</p><hr>
-</div>
+</p></div>
 </div>
 
 
diff --git a/tp/t/results/sectioning/two_unnumbered_no_argument.pl 
b/tp/t/results/sectioning/two_unnumbered_no_argument.pl
index 0a6f68fb3a..e975ac5841 100644
--- a/tp/t/results/sectioning/two_unnumbered_no_argument.pl
+++ b/tp/t/results/sectioning/two_unnumbered_no_argument.pl
@@ -181,7 +181,6 @@ ul.no-bullet {list-style: none}
 </head>
 
 <body lang="en">
-<hr>
 
 
 
diff --git a/tp/t/results/sectioning/unnumbered_before_node_top_top.pl 
b/tp/t/results/sectioning/unnumbered_before_node_top_top.pl
index 58bd661bf4..dcbd5f297e 100644
--- a/tp/t/results/sectioning/unnumbered_before_node_top_top.pl
+++ b/tp/t/results/sectioning/unnumbered_before_node_top_top.pl
@@ -445,8 +445,7 @@ ul.no-bullet {list-style: none}
 <div class="top" id="Top">
 <h2 class="unnumbered" id="top-section">top section</h2>
 <p>Top node
-</p><hr>
-</div>
+</p></div>
 
 
 
diff --git a/tp/t/results/sectioning/unnumbered_before_top_node.pl 
b/tp/t/results/sectioning/unnumbered_before_top_node.pl
index 664411aad9..cfca7c2bd2 100644
--- a/tp/t/results/sectioning/unnumbered_before_top_node.pl
+++ b/tp/t/results/sectioning/unnumbered_before_top_node.pl
@@ -326,7 +326,6 @@ ul.no-bullet {list-style: none}
 <p>Top node
 </p>
 <h1 class="titlefont">Title titlefont</h1>
-<hr>
 </div>
 
 
diff --git a/tp/t/results/xtable/block_commands_in_table.pl 
b/tp/t/results/xtable/block_commands_in_table.pl
index 83090d03e4..18c4b4e018 100644
--- a/tp/t/results/xtable/block_commands_in_table.pl
+++ b/tp/t/results/xtable/block_commands_in_table.pl
@@ -1798,8 +1798,7 @@ end example.
 </p></dd>
 </dl>
 <p>After table.
-</p><hr>
-</div>
+</p></div>
 ';
 
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]