golang / tour

[mirror] A Tour of Go
BSD 3-Clause "New" or "Revised" License
1.54k stars 521 forks source link

tour: `Syntax on/off` button wierd behavior #658

Open parthgandhi7 opened 5 years ago

parthgandhi7 commented 5 years ago

Context: https://tour.golang.org/flowcontrol/10

With syntax off the code appears like this which seems correct. image

But after i do syntax on the code appears like this which seems incorrect to me. selection_034 (Notice the houses keyword in place of the case keyword) I don't seem to understand this behaviour can you please help? Thanks.

ALTree commented 5 years ago

That's weird. I can't reproduce this on the latest Firefox on Linux. What browser are you using?