Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 158 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

This question already has an answer here:

If you have an unpaired backtick

file = $`
raise unless file == "my_file.rb"

You get the next line treated as a comment string.

It seems to be a pairing problem, based on

file = $`
raise unless file == "my_file.rb"
file2 = $`
raise unless file2 == "my_other_file.rb"

having the last line highlighted correctly.

This is observed in the current version of this answer.

Edit: Correction based on Michael's answer.

share|improve this question

marked as duplicate by ben is uǝq backwards, Rory, Mat, Hugo Dozois, animuson Jun 15 '13 at 18:49

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

It's coloring them like strings, not like comments. There are a couple languages that use backticks to execute shell code, so they have to be paired like '' or ""; probably the syntax highlighter is treating them that way. You get the same behavior with:

file = $'
raise unless file == "my_file.rb"
share|improve this answer

Not the answer you're looking for? Browse other questions tagged .