html tags in source code end up getting parsed and displayed in browser

Bug #344970 reported by John
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
loggerhead
Fix Released
Undecided
Michael Hudson-Doyle

Bug Description

i just started running bzr and loggerhead to keep track of source code for school projects.

within my java code i have some html code within a string, for example:

HTML("<hr /><h3>Purchase History:</h3>")

I just ran serve-branches with a directory that contains a few different branches, and when i just browse to the file in question and click on it, all is well, it shows me at what revision number different parts of the code were changed and so on, but when it encounters this (and any other html tags within the source) those tags are parsed by firefox rather than displayed as the strings they are, so I end up with a big <hr> across the page and <h3>'s scattered about.

It only happens under the "annotate" section of loggerhead, from what i can tell. The changes viewer displays the html tags correctly.

Also, I have the same file on launchpad (there the file only has one revision, i didn't upload the entire file history), and the html tags are displayed perfectly fine.

since i'm new to loggerhead i'm not sure where to look to find/fix this bug. if anyone has any pointers i'd appreciate it. if not i'll see what i can do/learn/find out on my own :)

Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

Oops, thanks for the report, it's fixed in rev 308 of loggerhead/trunk.

This only happened if you didn't have python-pygments installed.

Changed in loggerhead:
assignee: nobody → mwhudson
status: New → Fix Committed
Revision history for this message
John (john-cheslicious) wrote :

looks beauty now! thanks!

Martin Albisetti (beuno)
Changed in loggerhead:
status: Fix Committed → Fix Released
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.