Defect #17423
closed
#<issue_num> substitution is broken in text after coderay block
Added by Peter Volkov over 10 years ago.
Updated over 10 years ago.
Resolution:
Cant reproduce
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.
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 :(
- Status changed from New to Needs feedback
- Assignee set to Peter Volkov
- Resolution set to Cant reproduce
Please give some feedback.
True, with it works as expected, thank you. Although it'll be valuable if parser somehow reported such problems ;)
- Has duplicate Defect #17418: regression: attachement:file is not rendered on wiki page added
- Status changed from Needs feedback to Closed
Well this is a default problem of browsers. They try to autofix as best as they can ;)
Also available in: Atom
PDF