[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-kdoc
Subject: broken links
From: Josh Wilmes <josh () hitchhiker ! org>
Date: 2000-05-08 9:22:07
[Download RAW message or body]
I had some problems with broken links. It appeared that the <a href>'s were
including ::'s in the names, but the filenames had __'s instead. I don't
know the root cause, but I did add this simple hack which appeared to work
around the bug.
I suspect there's a better way to fix this, but anyway, here's my patch:
diff -cr kdoc-2.0a35.orig/kdocHTMLutil.pm kdoc-2.0a35/kdocHTMLutil.pm
*** kdoc-2.0a35.orig/kdocHTMLutil.pm Mon May 8 02:19:28 2000
--- kdoc-2.0a35/kdocHTMLutil.pm Mon May 8 02:19:45 2000
***************
*** 553,559 ****
warn fullName( $ref ). " hasn't a reference." unless defined $ref->
{Ref}
;
! return hyper( $ref->{Ref}, $str ) unless !defined $ref->{Ref};
}
=head2 textRef
--- 553,562 ----
warn fullName( $ref ). " hasn't a reference." unless defined $ref->
{Ref}
;
! my $url = $ref->{Ref};
! $url =~ s/::/__/g;
!
! return hyper( $url, $str ) unless !defined $ref->{Ref};
}
=head2 textRef
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic