Draft: fix: improve sprintf.js implementation for %% handling
Relates to issue #373236 (closed)
This MR was created by Duo in Session 1147640
Changes
- Fix sprintf.js to properly handle duplicated % signs according to standard sprintf behavior
- Update sprintf_spec.js with comprehensive test coverage for %% handling
- Ensure %% is converted to % without treating it as a flag for following characters