title: Customizing leaflet popup in R
body: <p>I am using RStudio to create a choropleth leaflet map.
  I have Country and Url as an attribute in the shapefile that I imported to R.</p>
  
  <p>I wish to show the Country name and URL as a hyperlink within the popup of the final map.</p>
  
  <p>Below is the code I have used so far:</p>
  
  <pre><code>m &lt;- world_shapefiles %&gt;%
    leaflet() %&gt;%
    addProviderTiles(providers$Esri.WorldStreetMap) %&gt;%      
    addPolygons( 
        label=~country, 
              labelOptions = labelOptions(style = list("font-weight" = "normal", padding = "3px 8px", textsize = "15px",
  direction = "auto")), 
                popup = ~ paste("Country:", country, "&lt;br/&gt;","&lt;b/&gt;","URL:", url)
  )
  </code></pre>
  
  <p>I want to see the text "Click here" instead of the entire url in the popup, I tried using the below code with no luck.</p>
  
  <pre><code>popup = ~ paste("Country:", counry, "&lt;br/&gt;","&lt;b/&gt;","URL:", "&lt;b&gt;&lt;a href=url&gt;Click Here&lt;/a&gt;&lt;/b&gt;")
  </code></pre>
  
  <p>Any ideas to achieve it?</p>