Question · Vibe coding with Claude Code course · Module 8: Slack clone

Quiz: Formula injection in CSV

A crew member writes in a channel =HYPERLINK("https://example.com";"Treasure map"). What does escapeCell do with this text during the export?

Answer options

  • It adds an apostrophe at the start, wraps the cell in quotes and doubles the quotes, so the spreadsheet does not treat it as a formula
  • It removes the whole message from the export
  • It leaves it unchanged, because the quotes around the cell are enough
  • It replaces the = sign with the words "equals"

You can check the correct answer by solving this task in the CodeWorlds game.