Java files are shown with garbage and broken links

Bug #843908 reported by Enrique
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
geshi (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

 When displaying a Java file, some broken links appear beside the main Java classes, for instance:
extends 1.5.0/docs/api/java/lang/Runnable.html">Runnable

 It is probably meant to redirect to the API, but his seems to be broken, and the generated HTML is full of this things.
I add a small HTML generated for one of such files.

Revision history for this message
Enrique (enrique-garcia) wrote :
Changed in websvn (Ubuntu):
status: New → Confirmed
Revision history for this message
Andreas Schöneck (as-) wrote :

As an example, here's the HTML code generated for java.lang.Exception (Elegant theme):

<a href="http://java.sun.com/j2se/<span style="color: #cc66cc;">1</span>.<span style="color: #cc66cc;">5</span>.0/docs/api/java/lang/Exception.html"><span style="color: #003399; font-weight: bold;">Exception</span></a>

Most likely, this bug is related to php-geshi

tags: added: websvn
Revision history for this message
Andreas Schöneck (as-) wrote :

By updating GeSHi to the most recent version (1.0.8.10) I was able to fix this issue.

My steps taken:
1. download GeSHi distribution archive, uncompress (you will get a geshi folder)
2. backup old /usr/share/php-geshi
3. replace old /usr/share/php-geshi with the geshi folder from inside the archive
done

URL http://sourceforge.net/projects/geshi/files/geshi/GeSHi%201.0.8.10/

Revision history for this message
Andreas Schöneck (as-) wrote :

Put this to the right direction

affects: websvn (Ubuntu) → geshi (Ubuntu)
tags: added: php-geshi
tags: added: geshi
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.