Defect #17577

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

Added by Felix Schäfer over 3 years ago. Updated almost 2 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Text formatting
Target version:-
Resolution:Duplicate Affected version:2.5.2

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

Duplicates Redmine - Patch #20288: Finalize CodeRay 1.1.0 upgrade Closed

History

#1 Updated by Felix Schäfer over 3 years ago

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

#2 Updated by Go MAEDA almost 2 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).

#3 Updated by Go MAEDA almost 2 years ago

  • Duplicates Patch #20288: Finalize CodeRay 1.1.0 upgrade added

Also available in: Atom PDF