[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
From: |
Patrice Dumas |
Date: |
Thu, 5 Sep 2024 15:56:02 -0400 (EDT) |
branch: master
commit 7d2e846df52e8223b68066a1d256ea1172cdf55a
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Thu Sep 5 21:54:17 2024 +0200
* tp/Makefile.am (test_files), tp/Makefile.tres, tp/t/html_tests.t
(simple_only_special_spaces_node), t/init/no_navigation.pm,
t/input_files/simple_only_special_spaces_node.texi: add a simpler
version of only_special_spaces_node as a file_test split by node as
the smallest case that triggers a bug with div closed in the wrong
file.
---
ChangeLog | 9 +
tp/Makefile.am | 2 +
tp/Makefile.tres | 2 +
tp/t/html_tests.t | 8 +
tp/t/init/no_navigation.pm | 15 +
.../simple_only_special_spaces_node.texi | 12 +
.../html_tests/simple_only_special_spaces_node.pl | 497 +++++++++++++++++++++
.../res_html/-.html | 40 ++
.../res_html/index.html | 40 ++
.../res_html/unknown_node.html | 35 ++
10 files changed, 660 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index 9e0807d547..982bd5b0bb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2024-09-05 Patrice Dumas <pertusus@free.fr>
+
+ * tp/Makefile.am (test_files), tp/Makefile.tres, tp/t/html_tests.t
+ (simple_only_special_spaces_node), t/init/no_navigation.pm,
+ t/input_files/simple_only_special_spaces_node.texi: add a simpler
+ version of only_special_spaces_node as a file_test split by node as
+ the smallest case that triggers a bug with div closed in the wrong
+ file.
+
2024-09-05 Patrice Dumas <pertusus@free.fr>
* TODO: add an entry for printindex formatting in HTML, to avoid using
diff --git a/tp/Makefile.am b/tp/Makefile.am
index f68632ac53..263a4f62d7 100644
--- a/tp/Makefile.am
+++ b/tp/Makefile.am
@@ -188,6 +188,7 @@ test_files = \
t/init/l2h.init \
t/init/mini_ker_t2h.init \
t/init/misc_file_collision.init \
+ t/init/no_navigation.pm \
t/init/only_toc_out.init \
t/init/redefine_need.init \
t/init/redefined_buttons.pm \
@@ -280,6 +281,7 @@ test_files = \
t/input_files/section_in_unnumbered_text.texi \
t/input_files/simplest.texi \
t/input_files/split_chapter_index.texi \
+ t/input_files/simple_only_special_spaces_node.texi \
t/input_files/simplest_no_node_section.texi \
t/input_files/special_spaces_in_nodes.texi \
t/input_files/test_refs.texi \
diff --git a/tp/Makefile.tres b/tp/Makefile.tres
index 7a9e6ce260..d43aeaed0c 100644
--- a/tp/Makefile.tres
+++ b/tp/Makefile.tres
@@ -739,6 +739,8 @@ test_files_generated_list =
$(test_tap_files_generated_list) \
t/results/html_tests/set_unit_file_name_filepath/res_html \
t/results/html_tests/shortcontents_no_top.pl \
t/results/html_tests/shorttitlepage.pl \
+ t/results/html_tests/simple_only_special_spaces_node.pl \
+ t/results/html_tests/simple_only_special_spaces_node/res_html \
t/results/html_tests/simplest_test_date_in_header.pl \
t/results/html_tests/simplest_test_date_in_header/res_html \
t/results/html_tests/spaces_in_line_break_in_verb_w.pl \
diff --git a/tp/t/html_tests.t b/tp/t/html_tests.t
index f6a5e227ef..6b5068470e 100644
--- a/tp/t/html_tests.t
+++ b/tp/t/html_tests.t
@@ -1512,6 +1512,14 @@ $info_js_dir_test, {}, {'INFO_JS_DIR' => 'js',
'JS_WEBLABELS_FILE' => undef}],
$css_init_file_texinfo,],
['text_css_info_in_init',
$css_init_file_texinfo, {'init_files' => ['test_css_info_functions.pm']}],
+# the objective is not to test the init file, the init files allows
+# to remove navigation in output files to have simpler output easier to
+# interpret. This was set for a bug with div closed in the wrong file.
+['simple_only_special_spaces_node',
+undef, {'test_file' => 'simple_only_special_spaces_node.texi',
+ 'init_files' => ['no_navigation.pm']},
+ # needed to test for the bug
+ {'SPLIT' => 'node'}],
);
diff --git a/tp/t/init/no_navigation.pm b/tp/t/init/no_navigation.pm
new file mode 100644
index 0000000000..0152f0bda7
--- /dev/null
+++ b/tp/t/init/no_navigation.pm
@@ -0,0 +1,15 @@
+# -*-perl-*-
+
+use strict;
+
+texinfo_set_from_init_file('HEADERS', 0);
+
+texinfo_register_formatting_function('format_navigation_header', \&epub_noop);
+texinfo_register_formatting_function('format_navigation_panel', \&epub_noop);
+
+sub epub_noop($$)
+{
+ return '';
+}
+
+1;
diff --git a/tp/t/input_files/simple_only_special_spaces_node.texi
b/tp/t/input_files/simple_only_special_spaces_node.texi
new file mode 100644
index 0000000000..11419d1492
--- /dev/null
+++ b/tp/t/input_files/simple_only_special_spaces_node.texi
@@ -0,0 +1,12 @@
+@node Top
+@top top
+
+@node
+@chapter EN QUAD| |
+
+@node
+@chapter CARRIAGE RETURN|
|
+
+@node
+@chapter THREE-PER-EM SPACE
+
diff --git a/tp/t/results/html_tests/simple_only_special_spaces_node.pl
b/tp/t/results/html_tests/simple_only_special_spaces_node.pl
new file mode 100644
index 0000000000..e4d7c81da6
--- /dev/null
+++ b/tp/t/results/html_tests/simple_only_special_spaces_node.pl
@@ -0,0 +1,497 @@
+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{'simple_only_special_spaces_node'} = {
+ "contents" => [
+ {
+ "contents" => [
+ {
+ "type" => "preamble_before_content"
+ }
+ ],
+ "type" => "before_node_section"
+ },
+ {
+ "args" => [
+ {
+ "contents" => [
+ {
+ "text" => "Top"
+ }
+ ],
+ "info" => {
+ "spaces_after_argument" => {
+ "text" => "\n"
+ }
+ },
+ "type" => "line_arg"
+ }
+ ],
+ "cmdname" => "node",
+ "extra" => {
+ "is_target" => 1,
+ "normalized" => "Top"
+ },
+ "info" => {
+ "spaces_before_argument" => {
+ "text" => " "
+ }
+ },
+ "source_info" => {
+ "file_name" => "simple_only_special_spaces_node.texi",
+ "line_nr" => 1
+ }
+ },
+ {
+ "args" => [
+ {
+ "contents" => [
+ {
+ "text" => "top"
+ }
+ ],
+ "info" => {
+ "spaces_after_argument" => {
+ "text" => "\n"
+ }
+ },
+ "type" => "line_arg"
+ }
+ ],
+ "cmdname" => "top",
+ "contents" => [
+ {
+ "text" => "\n",
+ "type" => "empty_line"
+ }
+ ],
+ "extra" => {},
+ "info" => {
+ "spaces_before_argument" => {
+ "text" => " "
+ }
+ },
+ "source_info" => {
+ "file_name" => "simple_only_special_spaces_node.texi",
+ "line_nr" => 2
+ }
+ },
+ {
+ "args" => [
+ {
+ "contents" => [
+ {
+ "text" => "\x{2000}\x{2001}"
+ }
+ ],
+ "info" => {
+ "spaces_after_argument" => {
+ "text" => "\n"
+ }
+ },
+ "type" => "line_arg"
+ }
+ ],
+ "cmdname" => "node",
+ "extra" => {
+ "is_target" => 1,
+ "normalized" => "_2002_2003"
+ },
+ "info" => {
+ "spaces_before_argument" => {
+ "text" => " "
+ }
+ },
+ "source_info" => {
+ "file_name" => "simple_only_special_spaces_node.texi",
+ "line_nr" => 4
+ }
+ },
+ {
+ "args" => [
+ {
+ "contents" => [
+ {
+ "text" => "EN QUAD|\x{2000}|"
+ }
+ ],
+ "info" => {
+ "spaces_after_argument" => {
+ "text" => "\n"
+ }
+ },
+ "type" => "line_arg"
+ }
+ ],
+ "cmdname" => "chapter",
+ "contents" => [
+ {
+ "text" => "\n",
+ "type" => "empty_line"
+ }
+ ],
+ "extra" => {
+ "section_number" => 1
+ },
+ "info" => {
+ "spaces_before_argument" => {
+ "text" => " "
+ }
+ },
+ "source_info" => {
+ "file_name" => "simple_only_special_spaces_node.texi",
+ "line_nr" => 5
+ }
+ },
+ {
+ "args" => [
+ {
+ "info" => {
+ "spaces_after_argument" => {
+ "text" => " \r\n"
+ }
+ },
+ "type" => "line_arg"
+ }
+ ],
+ "cmdname" => "node",
+ "extra" => {},
+ "source_info" => {
+ "file_name" => "simple_only_special_spaces_node.texi",
+ "line_nr" => 7
+ }
+ },
+ {
+ "args" => [
+ {
+ "contents" => [
+ {
+ "text" => "CARRIAGE RETURN|\r|"
+ }
+ ],
+ "info" => {
+ "spaces_after_argument" => {
+ "text" => "\n"
+ }
+ },
+ "type" => "line_arg"
+ }
+ ],
+ "cmdname" => "chapter",
+ "contents" => [
+ {
+ "text" => "\n",
+ "type" => "empty_line"
+ }
+ ],
+ "extra" => {
+ "section_number" => 2
+ },
+ "info" => {
+ "spaces_before_argument" => {
+ "text" => " "
+ }
+ },
+ "source_info" => {
+ "file_name" => "simple_only_special_spaces_node.texi",
+ "line_nr" => 8
+ }
+ },
+ {
+ "args" => [
+ {
+ "contents" => [
+ {
+ "text" => "\x{2004}\x{2005}"
+ }
+ ],
+ "info" => {
+ "spaces_after_argument" => {
+ "text" => "\n"
+ }
+ },
+ "type" => "line_arg"
+ }
+ ],
+ "cmdname" => "node",
+ "extra" => {
+ "is_target" => 1,
+ "normalized" => "_2004_2005"
+ },
+ "info" => {
+ "spaces_before_argument" => {
+ "text" => " "
+ }
+ },
+ "source_info" => {
+ "file_name" => "simple_only_special_spaces_node.texi",
+ "line_nr" => 10
+ }
+ },
+ {
+ "args" => [
+ {
+ "contents" => [
+ {
+ "text" => "THREE-PER-EM SPACE"
+ }
+ ],
+ "info" => {
+ "spaces_after_argument" => {
+ "text" => "\n"
+ }
+ },
+ "type" => "line_arg"
+ }
+ ],
+ "cmdname" => "chapter",
+ "contents" => [
+ {
+ "text" => "\n",
+ "type" => "empty_line"
+ }
+ ],
+ "extra" => {
+ "section_number" => 3
+ },
+ "info" => {
+ "spaces_before_argument" => {
+ "text" => " "
+ }
+ },
+ "source_info" => {
+ "file_name" => "simple_only_special_spaces_node.texi",
+ "line_nr" => 11
+ }
+ }
+ ],
+ "type" => "document_root"
+};
+
+$result_texis{'simple_only_special_spaces_node'} = '@node Top
+@top top
+
+@node
+@chapter EN QUAD| |
+
+@node '."\r".'
+@chapter CARRIAGE RETURN|'."\r".'|
+
+@node
+@chapter THREE-PER-EM SPACE
+
+';
+
+
+$result_texts{'simple_only_special_spaces_node'} = 'top
+***
+
+1 EN QUAD| |
+************
+
+2 CARRIAGE RETURN|'."\r".'|
+*******************
+
+3 THREE-PER-EM SPACE
+********************
+
+';
+
+$result_sectioning{'simple_only_special_spaces_node'} = {
+ 'extra' => {
+ 'section_childs' => [
+ {
+ 'cmdname' => 'top',
+ 'extra' => {
+ 'associated_node' => {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'Top'
+ }
+ },
+ 'section_childs' => [
+ {
+ 'cmdname' => 'chapter',
+ 'extra' => {
+ 'associated_node' => {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => '_2002_2003'
+ }
+ },
+ 'section_directions' => {
+ 'up' => {}
+ },
+ 'section_level' => 1,
+ 'section_number' => '1',
+ 'toplevel_directions' => {
+ 'prev' => {},
+ 'up' => {}
+ }
+ }
+ },
+ {
+ 'cmdname' => 'chapter',
+ 'extra' => {
+ 'associated_node' => {
+ 'cmdname' => 'node',
+ 'extra' => {}
+ },
+ 'section_directions' => {
+ 'prev' => {},
+ 'up' => {}
+ },
+ 'section_level' => 1,
+ 'section_number' => '2',
+ 'toplevel_directions' => {
+ 'prev' => {},
+ 'up' => {}
+ }
+ }
+ },
+ {
+ 'cmdname' => 'chapter',
+ 'extra' => {
+ 'associated_node' => {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => '_2004_2005'
+ }
+ },
+ 'section_directions' => {
+ 'prev' => {},
+ 'up' => {}
+ },
+ 'section_level' => 1,
+ 'section_number' => '3',
+ 'toplevel_directions' => {
+ 'prev' => {},
+ 'up' => {}
+ }
+ }
+ }
+ ],
+ 'section_level' => 0,
+ 'sectioning_root' => {},
+ 'toplevel_directions' => {}
+ }
+ }
+ ],
+ 'section_level' => -1
+ }
+};
+$result_sectioning{'simple_only_special_spaces_node'}{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[0]{'extra'}{'section_directions'}{'up'}
=
$result_sectioning{'simple_only_special_spaces_node'}{'extra'}{'section_childs'}[0];
+$result_sectioning{'simple_only_special_spaces_node'}{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[0]{'extra'}{'toplevel_directions'}{'prev'}
=
$result_sectioning{'simple_only_special_spaces_node'}{'extra'}{'section_childs'}[0];
+$result_sectioning{'simple_only_special_spaces_node'}{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[0]{'extra'}{'toplevel_directions'}{'up'}
=
$result_sectioning{'simple_only_special_spaces_node'}{'extra'}{'section_childs'}[0];
+$result_sectioning{'simple_only_special_spaces_node'}{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[1]{'extra'}{'section_directions'}{'prev'}
=
$result_sectioning{'simple_only_special_spaces_node'}{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[0];
+$result_sectioning{'simple_only_special_spaces_node'}{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[1]{'extra'}{'section_directions'}{'up'}
=
$result_sectioning{'simple_only_special_spaces_node'}{'extra'}{'section_childs'}[0];
+$result_sectioning{'simple_only_special_spaces_node'}{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[1]{'extra'}{'toplevel_directions'}{'prev'}
=
$result_sectioning{'simple_only_special_spaces_node'}{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[0];
+$result_sectioning{'simple_only_special_spaces_node'}{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[1]{'extra'}{'toplevel_directions'}{'up'}
=
$result_sectioning{'simple_only_special_spaces_node'}{'extra'}{'section_childs'}[0];
+$result_sectioning{'simple_only_special_spaces_node'}{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[2]{'extra'}{'section_directions'}{'prev'}
=
$result_sectioning{'simple_only_special_spaces_node'}{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[1];
+$result_sectioning{'simple_only_special_spaces_node'}{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[2]{'extra'}{'section_directions'}{'up'}
=
$result_sectioning{'simple_only_special_spaces_node'}{'extra'}{'section_childs'}[0];
+$result_sectioning{'simple_only_special_spaces_node'}{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[2]{'extra'}{'toplevel_directions'}{'prev'}
=
$result_sectioning{'simple_only_special_spaces_node'}{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[1];
+$result_sectioning{'simple_only_special_spaces_node'}{'extra'}{'section_childs'}[0]{'extra'}{'section_childs'}[2]{'extra'}{'toplevel_directions'}{'up'}
=
$result_sectioning{'simple_only_special_spaces_node'}{'extra'}{'section_childs'}[0];
+$result_sectioning{'simple_only_special_spaces_node'}{'extra'}{'section_childs'}[0]{'extra'}{'sectioning_root'}
= $result_sectioning{'simple_only_special_spaces_node'};
+
+$result_nodes{'simple_only_special_spaces_node'} = [
+ {
+ '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'
+ }
+ }
+ }
+ },
+ 'prev' => {},
+ 'up' => {}
+ },
+ 'normalized' => '_2002_2003'
+ }
+ }
+ },
+ 'normalized' => 'Top'
+ }
+ },
+ {},
+ {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'associated_section' => {
+ 'cmdname' => 'chapter',
+ 'extra' => {
+ 'section_number' => '3'
+ }
+ },
+ 'node_directions' => {
+ 'prev' => {},
+ 'up' => {}
+ },
+ 'normalized' => '_2004_2005'
+ }
+ }
+];
+$result_nodes{'simple_only_special_spaces_node'}[0]{'extra'}{'node_directions'}{'next'}{'extra'}{'node_directions'}{'prev'}
= $result_nodes{'simple_only_special_spaces_node'}[0];
+$result_nodes{'simple_only_special_spaces_node'}[0]{'extra'}{'node_directions'}{'next'}{'extra'}{'node_directions'}{'up'}
= $result_nodes{'simple_only_special_spaces_node'}[0];
+$result_nodes{'simple_only_special_spaces_node'}[1] =
$result_nodes{'simple_only_special_spaces_node'}[0]{'extra'}{'node_directions'}{'next'};
+$result_nodes{'simple_only_special_spaces_node'}[2]{'extra'}{'node_directions'}{'prev'}
=
$result_nodes{'simple_only_special_spaces_node'}[0]{'extra'}{'node_directions'}{'next'}{'extra'}{'node_directions'}{'next'};
+$result_nodes{'simple_only_special_spaces_node'}[2]{'extra'}{'node_directions'}{'up'}
= $result_nodes{'simple_only_special_spaces_node'}[0];
+
+$result_menus{'simple_only_special_spaces_node'} = [
+ {
+ 'extra' => {
+ 'normalized' => 'Top'
+ }
+ },
+ {
+ 'extra' => {
+ 'normalized' => '_2002_2003'
+ }
+ },
+ {
+ 'extra' => {
+ 'normalized' => '_2004_2005'
+ }
+ }
+];
+
+$result_errors{'simple_only_special_spaces_node'} = [
+ {
+ 'error_line' => 'empty argument in @node
+',
+ 'file_name' => 'simple_only_special_spaces_node.texi',
+ 'line_nr' => 7,
+ 'text' => 'empty argument in @node',
+ 'type' => 'error'
+ }
+];
+
+
+$result_floats{'simple_only_special_spaces_node'} = {};
+
+
+1;
diff --git
a/tp/t/results/html_tests/simple_only_special_spaces_node/res_html/-.html
b/tp/t/results/html_tests/simple_only_special_spaces_node/res_html/-.html
new file mode 100644
index 0000000000..3cad1fcbb0
--- /dev/null
+++ b/tp/t/results/html_tests/simple_only_special_spaces_node/res_html/-.html
@@ -0,0 +1,40 @@
+<!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="index.html" rel="start" title="Top">
+<link href="index.html" rel="up" title="Top">
+<link href="index.html" rel="prev" title="Top">
+<style type="text/css">
+<!--
+a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
+span:hover a.copiable-link {visibility: visible}
+-->
+</style>
+
+
+</head>
+
+<body lang="en">
+<div class="chapter-level-extent" id="g_t_2002_2003">
+<h2 class="chapter" id="EN-QUAD_007c-_007c"><span>1 EN QUAD| |<a
class="copiable-link" href="#EN-QUAD_007c-_007c"> ¶</a></span></h2>
+
+<hr>
+<div class="chapter-level-extent" id="g_t_2004_2005">
+<h2 class="chapter" id="THREE_002dPER_002dEM-SPACE"><span>3 THREE-PER-EM
SPACE<a class="copiable-link" href="#THREE_002dPER_002dEM-SPACE">
¶</a></span></h2>
+
+</div>
+
+
+
+</body>
+</html>
diff --git
a/tp/t/results/html_tests/simple_only_special_spaces_node/res_html/index.html
b/tp/t/results/html_tests/simple_only_special_spaces_node/res_html/index.html
new file mode 100644
index 0000000000..2b0b24bea9
--- /dev/null
+++
b/tp/t/results/html_tests/simple_only_special_spaces_node/res_html/index.html
@@ -0,0 +1,40 @@
+<!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 (top)</title>
+
+<meta name="description" content="Top (top)">
+<meta name="keywords" content="Top (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="-.html#g_t_2002_2003" rel="next" title=" ">
+<style type="text/css">
+<!--
+a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
+span:hover a.copiable-link {visibility: visible}
+-->
+</style>
+
+
+</head>
+
+<body lang="en">
+<div class="top-level-extent" id="Top">
+<h1 class="top" id="top"><span>top<a class="copiable-link" href="#top">
¶</a></span></h1>
+
+<ul class="mini-toc">
+<li><a href="-.html#g_t_2002_2003" accesskey="1">EN QUAD| |</a></li>
+<li>CARRIAGE RETURN|
|</li>
+<li><a href="-.html#g_t_2004_2005" accesskey="3">THREE-PER-EM SPACE</a></li>
+</ul>
+</div>
+
+
+
+</body>
+</html>
diff --git
a/tp/t/results/html_tests/simple_only_special_spaces_node/res_html/unknown_node.html
b/tp/t/results/html_tests/simple_only_special_spaces_node/res_html/unknown_node.html
new file mode 100644
index 0000000000..4d79777da1
--- /dev/null
+++
b/tp/t/results/html_tests/simple_only_special_spaces_node/res_html/unknown_node.html
@@ -0,0 +1,35 @@
+<!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="index.html" rel="start" title="Top">
+<style type="text/css">
+<!--
+a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
+span:hover a.copiable-link {visibility: visible}
+-->
+</style>
+
+
+</head>
+
+<body lang="en">
+</div>
+<div class="chapter-level-extent">
+<h2 class="chapter" id="CARRIAGE-RETURN_007c-_007c"><span>2 CARRIAGE RETURN|
|<a class="copiable-link" href="#CARRIAGE-RETURN_007c-_007c">
¶</a></span></h2>
+
+</div>
+
+
+
+</body>
+</html>