texinfo-commits
[Top][All Lists]
Advanced

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

[no subject]


From: Patrice Dumas
Date: Sat, 27 Aug 2022 15:20:51 -0400 (EDT)

branch: master
commit ee843b53268caf59385d8fca97d82299ff919bbb
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Sat Aug 27 21:20:37 2022 +0200

    * tp/Texinfo/Convert/HTML.pm (_convert_email_command): add also
    \s to the spaces regexp class, could be needed on solaris.
---
 ChangeLog                  | 5 +++++
 tp/Texinfo/Convert/HTML.pm | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 2201b0f607..5f90d8e643 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2022-08-27  Patrice Dumas  <pertusus@free.fr>
+
+       * tp/Texinfo/Convert/HTML.pm (_convert_email_command): add also
+       \s to the spaces regexp class, could be needed on solaris.
+
 2022-08-27  Patrice Dumas  <pertusus@free.fr>
 
        * tp/Texinfo/Convert/LaTeX.pm (_convert): no output for Unhandled
diff --git a/tp/Texinfo/Convert/HTML.pm b/tp/Texinfo/Convert/HTML.pm
index 46ab38df38..a0daa3b7d7 100644
--- a/tp/Texinfo/Convert/HTML.pm
+++ b/tp/Texinfo/Convert/HTML.pm
@@ -2669,7 +2669,7 @@ sub _convert_email_command($$$$)
   }
   $text = $mail_string unless ($text ne '');
   # match a non-space character, ascii and non-ascii spaces considered as 
spaces
-  return $text unless ($mail =~ /[^\v\h]/);
+  return $text unless ($mail =~ /[^\v\h\s]/);
   if ($self->in_string()) {
     return "$mail_string ($text)";
   } else {



reply via email to

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