You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Replace | with \n and no need to replace \n with \n. fixedarchan937#25
2. Support for inner templates on lists. fixedarchan937#8
3. Loop over object properties. fixedarchan937#13 and archan937#15
In the regular expression round brackets should be used:
replace(/(\n|\r\n)/g, '\n')
instead of
replace(/[\n|\r\n]/g, '\n')
otherwise the vertical | is replaced
Correct:
"good || bad".replace(/(\n|\r\n)/g, '\n'); -> 'good || bad'
Not correct:
"good || bad".replace(/[\n|\r\n]/g, '\n'); -> 'good \n\n bad'
The text was updated successfully, but these errors were encountered: