texinfo-commits
[Top][All Lists]
Advanced

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

master updated (f755cba0dd -> 4f38c0c059)


From: Gavin D. Smith
Subject: master updated (f755cba0dd -> 4f38c0c059)
Date: Thu, 4 Jan 2024 15:44:24 -0500 (EST)

gavin pushed a change to branch master.

    from f755cba0dd * tp/Texinfo/Convert/Plaintext.pm (_convert) <process 
contents>: Limit zeroing of 'empty_lines_count' to elements of type 
'preformatted' or 'rawpreformatted', which typically only contain content for a 
single line.  Previously, this code was also used for processing the contents 
of whole @menu blocks (as the local variable '$preformatted' was set) but the 
two cases are quite different and not well handled by the same code. (_convert) 
<menu_entry>: Unconditionally zero  [...]
     new 733084b330 removal factual inaccuracy in ChangeLog
     new 4f38c0c059 * tp/Texinfo/Convert/Plaintext.pm (_convert) <process 
contents>: Remove zeroing of 'empty_lines_count' from here for 'preformatted' 
and 'rawpreformatted' elements also. <close preformatted>: Move it into a code 
block dealing with other preformatted content.  Base the zeroing on inspection 
of the document tree rather than conversion output.


Summary of changes:
 ChangeLog                                          | 14 +++++++++++---
 tp/Texinfo/Convert/Plaintext.pm                    | 18 ++++++++++++++----
 tp/t/results/coverage/flushright_example_nested.pl |  1 -
 3 files changed, 25 insertions(+), 8 deletions(-)



reply via email to

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