Skip to content
This repository has been archived by the owner on Feb 2, 2023. It is now read-only.

Commit

Permalink
fix(svg): always trim included svg files
Browse files Browse the repository at this point in the history
  • Loading branch information
vvo committed Apr 13, 2016
1 parent 7ab6051 commit e013ce5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/formatAutocompleteSuggestion.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ export default function formatAutocompleteSuggestion({
isCity,
name
}) {
const out = `<span class="ap-suggestion-icon">${isCity === true ? cityIcon : addressIcon}</span>
const out = `<span class="ap-suggestion-icon">${isCity === true ?
cityIcon.trim() :
addressIcon.trim()}</span>
<span class="ap-name">${name}</span> <span class="ap-address">
${isCity === false ? `${city},` : ''}
${administrative ? `${administrative},` : ''}
Expand Down

0 comments on commit e013ce5

Please sign in to comment.