Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add optional appendExpandPrefixToSummaryText option #105

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

tracyfloyd
Copy link

Sometimes I need to separate the expandPrefix from the link that actually triggers the expand (so I can treat the link as a block level element on it sown line, etc). This change adds an "appendExpandPrefixToSummaryText" option that if true will append the expandPrefix to the summary text instead of prepending it to the moreLabel.

@kswedberg
Copy link
Owner

Thanks for the pull request. I'm not sure, though, if it's worth adding this feature for such an edge case. Also, on line 415, it looks like you're still adding expandPrefix to summaryText, even though you're concatenating it onto ret in the previous line.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants