Delimiter changes from % to ? if not set.
See original GitHub issueHello,
I developed a private npm package where i used ejs to render some emails.
When i am developing the package i never had issues while running rendering tests, demoing etc.
In this case when i var ejs = require('ejs')
the exported object comes without a defined delimiter.
As soon as i published my packaged and started using it inside a docker container, which runs an older version of node (i think its 5.X.X), the delimiter is set to ? after require.
This rendered all my templates useless and i took a while to discover. I easily solved my problem by setting the delimiter but it thought my report could still be useful. Is this a known problem? Do you want more details in order to track this problem down? I think this should be investigated.
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Formula errors in Excel when list separator is not set correctly
From the File menu, select Options. Select Advanced. In the 'Editing options' group determine if 'Use system separators' is unselected. If it ......
Read more >How to change Excel CSV delimiter to comma or semicolon
The tutorial shows how to change CSV separator when importing or exporting data to/from Excel, so you can save your file in the ......
Read more >How to change the field separator (delimiter) in Excel when ...
Open the dialog box for changing Regional and Language settings. In the dialog box, look for the List separator setting. (Location may vary...
Read more >How to change CSV delimiter in Excel - SpreadsheetWeb
In this guide, we're going to show you how to change CSV delimiter in Excel.
Read more >How to open CSV files with the correct delimiter/separator
Here are two ways to open files without needing to change your Excel settings: ... Select Delimited, then make sure the File Origin...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Well yes. And No.
Some other package in your node_modules (or in your own code, or any code you use) has set it to “?”
If you do anywhere
and then later require ejs somewhere else, then the delimiter is set already.
Oh my god, you are absolutely right.
In my defense… the project i am working on is huge and i don’t know most of it. I am completely surprised that it was already being used and defined.
Thanks alot.