Skip to content

docs: clarify quote/squote escaping - #489

Open
TastyHeadphones wants to merge 1 commit into
Masterminds:masterfrom
TastyHeadphones:docs/clarify-quote-squote
Open

TastyHeadphones wants to merge 1 commit into
Masterminds:masterfrom
TastyHeadphones:docs/clarify-quote-squote

Conversation

@TastyHeadphones

Copy link
Copy Markdown

The quote/squote docs only said they wrap strings. quote actually uses Go's %q escaping; squote just wraps with single quotes and doesn't escape the insides.

Fixes #481

quote uses Go %q escaping; squote only wraps with single quotes.

This branch has not been deployed

No deployments
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.

Improve docs of quote functions

1 participant