Skip to content

Add optional appendExpandPrefixToSummaryText option#105

Open
tracyfloyd wants to merge 2 commits intokswedberg:masterfrom
tracyfloyd:master
Open

Add optional appendExpandPrefixToSummaryText option#105
tracyfloyd wants to merge 2 commits intokswedberg:masterfrom
tracyfloyd:master

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