Actions
Defect #17423
closed#<issue_num> substitution is broken in text after coderay block
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Cant reproduce
Affected version:
Description
If there is coderay text highlighted block in wiki page, #<issue-num> substitutions are broken. Here is a test case to reproduce the issue.
h1. Test This link works #1! <pre><code class="ruby"> # The Greeter class class Greeter def initialize(name) @name = name.capitalize end def salute puts "Hello #{@name}!" end end </pre>While this not #1 :(
This bug is reproducible in 2.2.4 and 2.5.2.
Related issues
Updated by Daniel Felix almost 11 years ago
Well... please try this with valid html.
Your example is broken. You have a pre and then a code tag opened, but you just close the pre.
See here:
Test¶
This link works #1!
# The Greeter class
class Greeter
def initialize(name)
@name = name.capitalize
end
def salute
puts "Hello #{@name}!"
end
end
While this not #1 :(
Updated by Daniel Felix almost 11 years ago
- Status changed from New to Needs feedback
- Assignee set to Peter Volkov
- Resolution set to Cant reproduce
Please give some feedback.
Updated by Peter Volkov almost 11 years ago
True, with it works as expected, thank you. Although it'll be valuable if parser somehow reported such problems ;)
Updated by Daniel Felix almost 11 years ago
- Has duplicate Defect #17418: regression: attachement:file is not rendered on wiki page added
Updated by Daniel Felix almost 11 years ago
- Status changed from Needs feedback to Closed
Well this is a default problem of browsers. They try to autofix as best as they can ;)
Actions