duckduckgo / zeroclickinfo-goodies

DuckDuckGo Instant Answers based on Perl & JavaScript
https://duckduckhack.com/
Other
979 stars 1.76k forks source link

`\n` and `\t` not working? #2700

Closed talsraviv closed 8 years ago

talsraviv commented 8 years ago

Note - finally posting this in the right place - sorry @moollaza

Was playing in codio with the new escape sequences - is this the right usage of \n? I didn't get a line break, and just ran duckpan upgrade before it

screen shot 2016-03-04 at 9 45 28 am

screen shot 2016-03-04 at 9 45 40 am

(didn't work for code template or keyboard template either)

vikashvverma commented 8 years ago

@talsraviv Did you try fetching latest commits from this repo. This has been fixed in https://github.com/duckduckgo/zeroclickinfo-goodies/pull/2627

talsraviv commented 8 years ago

Yep - thank you. Ok so it only works in the key property - will make sure docs make that clear - correct if i'm wrong. Or - reading #2627 - only code blocks in the key property? Is that redundant to say?

cc @moollaza

vikashvverma commented 8 years ago

@talsraviv I don't think there is any need for \n and \t support for value.

talsraviv commented 8 years ago

@vikashvverma that's cool with me - just want to make it clear in the docs

GuiltyDolphin commented 8 years ago

Seems like this is resolved.