Skip Menu |

This queue is for tickets about the Term-Visual CPAN distribution.

Report information
The Basics
Id: 7221
Status: resolved
Priority: 0/
Queue: Term-Visual

People
Owner: lunartear [...] cpan.org
Requestors: japhy [...] perlmonk.org
Cc:
AdminCc:

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

Attachments


Subject: multiple consecutive term codes causes error
Because of the structure of the code from line 1285 through 1301, if you have \0(bold_on)\0(bold_off) the first one is caught by the regex to find 'bold', and turns boldness on, but the second one is caught by the regex that finds user-defined color codes, and raises errors. Included is a patch that seems to correct the issue.
Download term-visual-diff
application/octet-stream 2k

Message body not shown because it is not plain text.

Applied Japhy's bugfix to version 0.07