Skip to content

Comments

Add options to use custom prefix and suffix for interpolation#47

Open
yxor wants to merge 8 commits intoclaudetech:masterfrom
yxor:master
Open

Add options to use custom prefix and suffix for interpolation#47
yxor wants to merge 8 commits intoclaudetech:masterfrom
yxor:master

Conversation

@yxor
Copy link

@yxor yxor commented Aug 15, 2021

I recently faced an issue with using gulp-static-i18n-html (It depends on this project) where another gulp plugin uses the same prefix and suffix used by this plugin for interpolation ({{ and }}) and breaks the functionality.

This pull request adds the ability to use a custom interpolation prefix and suffix by passing in some options while maintaining {{ and }} as default, also fixed an issue with tests passing on windows.

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.

1 participant