Project

General

Profile

Actions

Defect #17577

closed

<code> blocks have no numbers, help shows line numbers for <code> blocks though

Added by Felix Schäfer over 10 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Text formatting
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Duplicate
Affected version:

Description

The detailed wiki syntax help shows line numbers for code blocks in wiki syntax source:/branches/2.5-stable/public/help/en/wiki_syntax_detailed.html#L275, currently the wiki syntax doesn't show them though:

# The Greeter class
class Greeter
  def initialize(name)
    @name = name.capitalize
  end

  def salute
    puts "Hello #{@name}!" 
  end
end

Should the line numbers be added to the code blocks or the line numbers be removed from the detailed help?


Related issues

Is duplicate of Redmine - Patch #20288: Finalize CodeRay 1.1.0 upgradeClosed

Actions
Actions #1

Updated by Felix Schäfer over 10 years ago

Planio is ready to provide a patch for this once it's clear what the fix for this should be, thanks.

Actions #2

Updated by Go MAEDA about 9 years ago

  • Status changed from New to Closed
  • Resolution set to Duplicate

Line numbers in the help are removed by #20288 (Redmine 3.2.0).

Actions #3

Updated by Go MAEDA about 9 years ago

  • Is duplicate of Patch #20288: Finalize CodeRay 1.1.0 upgrade added
Actions

Also available in: Atom PDF