[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: * tp/t/test_utils.pl (convert_to_html): use only
From: |
Patrice Dumas |
Subject: |
branch master updated: * tp/t/test_utils.pl (convert_to_html): use only strings for SPLIT. |
Date: |
Tue, 24 Oct 2023 18:47:16 -0400 |
This is an automated email from the git hooks/post-receive script.
pertusus pushed a commit to branch master
in repository texinfo.
The following commit(s) were added to refs/heads/master by this push:
new b457d601e1 * tp/t/test_utils.pl (convert_to_html): use only strings
for SPLIT.
b457d601e1 is described below
commit b457d601e162abc521cffea568c5769ee62e4045
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Wed Oct 25 00:47:18 2023 +0200
* tp/t/test_utils.pl (convert_to_html): use only strings for SPLIT.
* tp/Texinfo/Structuring.pm (split_pages): remove normalization of
$split argument.
---
ChangeLog | 7 +++++++
tp/Texinfo/Structuring.pm | 4 ----
tp/t/test_utils.pl | 2 +-
3 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 20b14a62bc..07da74b8f5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2023-10-24 Patrice Dumas <pertusus@free.fr>
+
+ * tp/t/test_utils.pl (convert_to_html): use only strings for SPLIT.
+
+ * tp/Texinfo/Structuring.pm (split_pages): remove normalization of
+ $split argument.
+
2023-10-24 Patrice Dumas <pertusus@free.fr>
* tp/Texinfo/Structuring.pm (import, split_by_node, split_by_section),
diff --git a/tp/Texinfo/Structuring.pm b/tp/Texinfo/Structuring.pm
index e9c0dc2f22..8d5f35a542 100644
--- a/tp/Texinfo/Structuring.pm
+++ b/tp/Texinfo/Structuring.pm
@@ -1806,10 +1806,6 @@ sub split_pages($$)
return undef if (!$output_units or !@$output_units);
- # TODO remove after all the cases of setting a number have been fixed
- # normalize and set to string
- $split = "" if (!$split);
-
my $split_level;
if (!$split) {
foreach my $output_unit (@$output_units) {
diff --git a/tp/t/test_utils.pl b/tp/t/test_utils.pl
index e8c1d42ed5..736464f637 100644
--- a/tp/t/test_utils.pl
+++ b/tp/t/test_utils.pl
@@ -561,7 +561,7 @@ sub convert_to_html($$$$$$;$)
= set_converter_option_defaults($converter_options,
$main_configuration, 'html');
- $converter_options->{'SPLIT'} = 0
+ $converter_options->{'SPLIT'} = ''
if ($format eq 'html_text'
and !defined($converter_options->{'SPLIT'}));
my $converter =
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: * tp/t/test_utils.pl (convert_to_html): use only strings for SPLIT.,
Patrice Dumas <=