Multi-part code blocks are mangled
nomicode opened this issue · 0 comments
nomicode commented
I get this:
`module ListComprehension`
` def c(comprehension)`
` parts = comprehension.split(' ')`
` if parts[0] == parts[2]`
` eval(comprehension.scan(/\[.*\]/).last)`
` end`
` end`
`end`
But I should get this:
module ListComprehension
def c(comprehension)
parts = comprehension.split(' ')
if parts[0] == parts[2]
eval(comprehension.scan(/\[.*\]/).last)
end
end
end