Simple polyfill for HTML% placeholder