model.title contains one of the two values - "Back to {0}" or "Back"
<sly data-sly-test.title="${model.title}"/>
<a>${'{0}' in title ? title @ format=currentPage.parent.title : title}</a>
Neither
${'{0}' in title ? title @ format=currentPage.parent.title : title}
nor
${'{0}' in title ? (title @ format=currentPage.parent.title) : title}
gives the expected result. What is the correct way?