nette.ajax change title snippet and escaping

2 years ago

mcmatak
Member | 492
+
0
-

here is my example of title with letters like >

https://www.onlinesekac.cz/…ke-bundy/c-7?…

you can see that title is readable

Second-hand > Dámské > Bundy jarní a podzimní

this is my tag inside layout

<title n:snippet="title">{$title|striptags}</title>

but if am trying to change title by ajax

like open any product detail dialog (just click on any product image)

snippet--title: "Second-hand &gt; Dámské &gt; Halenky &gt; Dámská vycházková halenka CUBUS S, zelená #17081113517938"

i get this escaped title, finally it is not readable by browser, bcs you can see only this title

<title id=“snippet–title”>Second-hand &gt; Dámské &gt; Halenky &gt; Dámská vycházková halenka CUBUS S, zelená #17081113517938</title>

any ideas how to get over it?

thanks