Input fields bug when variables has spaces (f7 5.7.10)

i noticed that on input (on f7 5.7.10 - on older versions this problem is not present )

<input type="text" name="{{name}}" placeholder="{{name}}">

if {{name}} contains spaces attibutes name and placeholder have problem to escape string

name = “hello pippo”
input is rendered
<input type="text" name="hello" pippo placeholder="hello" pippo>
but should be
<input type="text" name="hello pippo" placeholder="hello pippo">

1 Like

Change to {{escape name}}

1 Like

thanks @shastox! works like a charm