harttle / liquidjs

A simple, expressive, safe and Shopify compatible template engine in pure JavaScript.
https://liquidjs.com
MIT License
1.52k stars 238 forks source link

fix: remove_last was eating an extra character #637

Closed ebobby closed 1 year ago

ebobby commented 1 year ago

When the substring to remove was anywhere but the end of the larger string, remove_last would eat an extra character.

harttle commented 1 year ago

@all-contributors please add @ebobby for code

allcontributors[bot] commented 1 year ago

@harttle

I've put up a pull request to add @ebobby! :tada:

github-actions[bot] commented 1 year ago

:tada: This PR is included in version 10.9.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: