Remove extra characters
This commit is contained in:
parent
33257adc7d
commit
9dd6024d91
1 changed files with 2 additions and 1 deletions
|
@ -297,6 +297,7 @@ function converter(html, dynamic = true) {
|
|||
"SOCIALS": () => {
|
||||
if (api.lanyard.socials) {
|
||||
var socials = api.lanyard.socials
|
||||
console.log(socials)
|
||||
var html = ""
|
||||
var socialsTable = Object.keys(socials)
|
||||
for (var i = 0; i < socialsTable.length; i++) {
|
||||
|
@ -307,7 +308,7 @@ function converter(html, dynamic = true) {
|
|||
for (var x = 0; x < sitesTable.length; x++) {
|
||||
var siteName = sitesTable[x]
|
||||
var siteData = sites[siteName]
|
||||
html += `<a class="chip" ${onlyIfExists(`href="${siteData.url}"`, siteData.url)}>${siteName}: <span class="noHighlight">${siteData.name.replaceAll("Violet", "{Violet}")}</span></a>`
|
||||
html += `<a class="chip" ${onlyIfExists(`href="${siteData.url}"`, siteData.url)}>${siteName}: <span class="noHighlight">${siteData.name}</span></a>`
|
||||
|
||||
}
|
||||
html += "</div></div>"
|
||||
|
|
Loading…
Reference in a new issue