Exception - Illegal content in < parent tag while importng core template

Exception - Illegal content in < parent tag while importng core template

by Mariusz Mit -
Number of replies: 1
Hello

I'm trying to import this template lib\templates\search_input.mustache in the theme's file so I used following code {{< core/search_input }} but it returns error Exception - Illegal content in < parent tag
Average of ratings: -
In reply to Mariusz Mit

Re: Exception - Illegal content in < parent tag while importng core template

by lior gil -
Picture of Core developers

Looks like an incorrect char. Change <  to >.

{{> core/search_input }}

Check the partial documentation here.