fix(learn): revert backslash change (#41382)
* fix(learn): revert backslash change Crowdin resolved the issue with backslashes escaping backtics in the markdown parser, so this reverts the workaround we implemented for that bug. * Update curriculum/challenges/english/10-coding-interview-prep/rosetta-code/s-expressions.md Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com> Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
529d72b242
commit
c5bcebc724
@ -22,7 +22,7 @@ const uhOhGroucho = 'I've had a perfectly wonderful evening, but this wasn't it.
|
||||
|
||||
The first two are correct, but the third is incorrect.
|
||||
|
||||
Of course, it is okay to use only one style of quotes. You can escape the quotes inside the string by using the backslash (<code>\\</code>) escape character:
|
||||
Of course, it is okay to use only one style of quotes. You can escape the quotes inside the string by using the backslash (`\`) escape character:
|
||||
|
||||
```js
|
||||
const allSameQuotes = 'I\'ve had a perfectly wonderful evening, but this wasn\'t it.';
|
||||
|
Reference in New Issue
Block a user