Project

General

Profile

Actions

Defect #7495

closed

Python multiline comments highlighting problem in Repository browser

Added by Graham King almost 14 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Third-party libraries
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

When viewing Python code (from an SVN repo) in the repository viewer multiline PyDoc style comments aren't highlighted correctly.

For example, the multiline comment in this ticket will highlight correctly, but not in the source viewer.

#!/usr/bin/python

def foo(bar):
    """Takes a bar and converts to a foo.
    This is not a good idea.""" 
    return bar

In the repository source viewer only the first line is highlighted.

We're running Redmine trunk r4786. I'm using Chrome on Linux.

About your application's environment
Ruby version              1.8.7 (x86_64-linux)
RubyGems version          1.3.5
Rack version              1.0
Rails version             2.3.5
Active Record version     2.3.5
Active Resource version   2.3.5
Action Mailer version     2.3.5
Active Support version    2.3.5
Application root          /home/redmine/redmine
Environment               production
Database adapter          mysql
Database schema version   20101114115359

Related issues

Related to Redmine - Feature #4264: Update CodeRay to 1.0 finalClosed

Actions
Actions

Also available in: Atom PDF