Skip Menu |

This queue is for tickets about the txt2html CPAN distribution.

Report information
The Basics
Id: 130421
Status: new
Priority: 0/
Queue: txt2html

People
Owner: Nobody in particular
Requestors: bruce [...] momjian.us
Cc:
AdminCc:

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



Subject: dictionary link files broken in 2.5201
Use of $HOME dictionary link files and --links_dictionaries appears to be broken in 2.5201, and has been broken for years in previous releases. My attached one-line fix comes from 2011. I am unclear why this bug has remained unfixed for so long.
Subject: link-dict-fix.diff
*** ./TextToHTML.pm.orig 2019-08-31 13:35:36.684420846 -0400 --- ./TextToHTML.pm 2019-08-31 13:44:35.357164295 -0400 *************** *** 5290,5296 **** if (-r $ld) { $self->{'make_links'} = 1; ! $self->args(['--links_dictionaries', $ld]); } else { --- 5290,5296 ---- if (-r $ld) { $self->{'make_links'} = 1; ! push(@{$self->{links_dictionaries}}, $ld); } else {