I have released kobopatch v0.10.3 with a new MustMatchLength option for FindReplaceString and ReplaceString. This option will make sure the replacement string is not shorter than the original (in addition to the default check to make sure it is not longer). This is useful for CSS string replacements. The behaviour of this option (and lack thereof) is fully backwards-compatible.
I have updated the patches for 4.11.11980 to use this new option.
|