Skip to content

Ruby code highlighting bug #1

@jaimeiniesta

Description

@jaimeiniesta

Hi Dan, I think I've found a little bug on Code Highlighter. Look at this:

http://edgeguides.rubyonrails.org/action_mailer_basics.html
Then on the "2.3.4 Sending Email To Multiple Recipients" section, you'll find code that contains:

Admin.all.map(&:email)

When code highlighting it for ruby syntax, it's taking the semicolon for & as part of the green colored symbol ":email". So finally it renders as "Admin.all.map(&;:email)" when it should render as "Admin.all.map(&:email)", without that semicolon.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions