Skip Menu |

This queue is for tickets about the Text-Autoformat CPAN distribution.

Report information
The Basics
Id: 28816
Status: open
Priority: 0/
Queue: Text-Autoformat

People
Owner: Nobody in particular
Requestors: nelhage [...] mit.edu
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Handling of ASCII art diagrams
Date: Mon, 13 Aug 2007 15:19:43 -0400
To: bug-text-autoformat [...] rt.cpan.org
From: Nelson Elhage <nelhage [...] MIT.EDU>
I feel like Text::Autoformat ought to do the right thing with ASCII art tables, e.g.: +------------+-----------+-----------+-----------+ |hex bin |hex bin |hex bin |hex bin | +------------+-----------+-----------+-----------+ |0 0000 |4 0100 |8 1000 |C 1100 | |1 0001 |5 0101 |9 1001 |D 1101 | |2 0010 |6 0110 |A 1010 |E 1110 | |3 0011 |7 0111 |B 1011 |F 1111 | +------------+-----------+-----------+-----------+ (i.e. leave them alone). The current version (1.13) tries to fill them normally, with horrible results, e.g (with all => 1). +------------+-----------+-----------+-----------+ |hex bin |hex bin |hex bin |hex bin | +------------+-----------+-----------+-----------+ | 0000 |4 0100 |8 1000 |C 1100 | 1 0001 |5 0101 |9 1001 |D 1101 | 2 | 0010 |6 0110 |A 1010 |E 1110 | 3 0011 |7 0111 |B 1011 |F 1111 | +------------+-----------+-----------+-----------+
Subject: Re: [rt.cpan.org #28816] Handling of ASCII art diagrams
Date: Tue, 14 Aug 2007 22:03:29 +1000
To: bug-Text-Autoformat [...] rt.cpan.org
From: Damian Conway <damian [...] conway.org>
Show quoted text
> I feel like Text::Autoformat ought to do the right thing with ASCII > art tables
I agree. That's why that very feature is scheduled to be added to the next major release. :-) Thanks, Damian