codethesaur.us icon indicating copy to clipboard operation
codethesaur.us copied to clipboard

Comment blocks in language files don't allow newlines

Open geekygirlsarah opened this issue 3 years ago • 3 comments

Newline '\n' is not working in comment. image

"create_a_unordered_mutable_list": { "code": "let arrayName: type[];", "comment": "Examples: let scores : (string | number)[];\nlet nums : number[] = [12.34,1,2,3];\nlet arr : Array = [1,2,3,'hi'];\nlet arr : Array<number|boolean> = [1, true, 2];" },

Originally posted by @abhishek7997 in https://github.com/codethesaurus/codethesaur.us/issues/345#issuecomment-939410179

geekygirlsarah avatar Oct 13 '21 02:10 geekygirlsarah

I'll claim this issue

INeedAUniqueUsername avatar Oct 23 '21 01:10 INeedAUniqueUsername

Alright, I'll assign you. You know the drill!

geekygirlsarah avatar Oct 23 '21 03:10 geekygirlsarah

Haven't heard back so I'm removing you. (If you still want it, let me know and I'll add you back.)

geekygirlsarah avatar Nov 29 '21 19:11 geekygirlsarah

@geekygirlsarah it looks like this may have been resolved in commit fcfda0f11e901b486b19bfbe11b91450f0891929 Should this issue be closed?

aedwardg avatar Oct 12 '22 05:10 aedwardg

Huh, weird. This was attached to PR #384 but it never actually closed this issue when that one closed. Weird. But yeah, you're right. It was done!

Thanks for catching that, @aedwardg !

geekygirlsarah avatar Oct 12 '22 13:10 geekygirlsarah