konsalex / Airport-Autocomplete-JS

Airport Autocomplete Input tag
MIT License
31 stars 18 forks source link

Weird formatting string - single-result" #14

Open starikovs opened 2 years ago

starikovs commented 2 years ago

Hello!

I see this strange formatting string. Why it has single"? It seems like here's a mess with quotes.

const Formatting = `<div class="$(unique-result)"
                     single-result" 
                     data-index="$(i)"> 
                     $(name) $(IATA) 
                    </br>
                    $(city) ,$(country)
                    </div>`;

Thank you!