I have a div like this:
<div style='background-image: url({{ OBJETO.URL }})' class="video-thumb"></div>
Where Objeto.url
delivers a string like this:
http://dominio/rota/id/original/(nome)8.jpg
When rendering the HTML, it gets invalid in this background-image because the second parentheses of this part (nome)
closes the value of the backgroud-image url.
By the browser, inspecting and placing double quotation marks around it works.
So I tried to change the html to:
<div style='background-image: url("{{ OBJETO.URL }}")' class="video-thumb"></div>
But he ignored the quotes at that time.
I'd like to know how to make it look like (nome)
as part of my URL.