texinfo-commits
[Top][All Lists]
Advanced

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

[6480] XSParagraph check for some non-breaking spaces


From: Gavin D. Smith
Subject: [6480] XSParagraph check for some non-breaking spaces
Date: Tue, 28 Jul 2015 20:06:07 +0000

Revision: 6480
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=6480
Author:   gavin
Date:     2015-07-28 20:06:06 +0000 (Tue, 28 Jul 2015)
Log Message:
-----------
XSParagraph check for some non-breaking spaces

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/tp/Texinfo/Convert/XSParagraph/xspara.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2015-07-28 19:03:48 UTC (rev 6479)
+++ trunk/ChangeLog     2015-07-28 20:06:06 UTC (rev 6480)
@@ -1,5 +1,10 @@
 2015-07-28  Gavin Smith  <address@hidden>
 
+       * tp/Texinfo/Convert/XSParagraph/xspara.c (add_text): Check for
+       some non-breaking spaces.
+
+2015-07-28  Gavin Smith  <address@hidden>
+
        * tp/Texinfo/Convert/XSParagraph/configure.ac: Check for
        Perl's CC before AC_PROG_CC so the automatic dependency checking 
        style will not be inappropriate.

Modified: trunk/tp/Texinfo/Convert/XSParagraph/xspara.c
===================================================================
--- trunk/tp/Texinfo/Convert/XSParagraph/xspara.c       2015-07-28 19:03:48 UTC 
(rev 6479)
+++ trunk/tp/Texinfo/Convert/XSParagraph/xspara.c       2015-07-28 20:06:06 UTC 
(rev 6480)
@@ -777,7 +777,8 @@
           continue;
         }
 
-      if (iswspace (wc))
+      /* 00A0 and 202F are non-breaking spaces in Unicode. */
+      if (iswspace (wc) && wc != L'\x00a0' && wc != L'\x202f')
         {
           state.last_letter = L'\0';
 




reply via email to

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