Forum Feature requests

JavaScript template string literal

yyang
It seems that template string literal is not yet supported. Could we have this convenient feature in a future release? Thanks!
adrianwong
We have added support for template literals (and String.raw) in the latest build. (Note: this is the same latest build that includes support for the ES6 startsWith() and endsWith() string methods.)

Edited by adrianwong

yyang
I've tried the new build and it works nicely. Thank you so much!
jagermesh
Looks like they stopped working in 15.4?
jagermesh
Confirmed - template literals not working in Prince 15.4.1, but working in Prince 20241030, which is, I believe, latest build as of now. Downloaded from https://www.princexml.com/latest/.
adrianwong
Pretty sure template literals were implemented after the release of Prince 15. We typically do not include new JS features in point releases, so template literals will be only be available in Prince 16 outside of latest builds.