use opts.excerpt_separator #89
Loading…
Reference in a new issue
No description provided.
Delete branch "gcoda/patch-1"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Trying to stringify with same options as parsed failed. Does this looks like a fix?
Tests can pass with
const sep = opts.excerpt_separator || opts.delimiters[0];But it looks like it should be insidedefault.jsThen another one fails,
So default.js:
opts.sep = opts.excerpt_separator || opts.delimiters[0];and stringify.js:const sep = opts.sep;seems even more wrong.lib/excerpt.js:
sep || opts.delimiters[0]so maybe stringify.js should not use default separator too, i am really not sure
or test for stringify maybe should use
{excerpt: true}?I'm on vacation for the next few days but can you provide an example of what you did and what you expected to happen vs what did happen? Your fix suggestion seems to be a breaking change at a glance.
I'll respond properly at the end of the week.
i am trying to stringify with custom excerpt_separator
i am confused why stringify uses
opts.delimiters[1]as separator but lib/excerpt.js usingopts.delimiters[0]View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.