From 46aa8436976a9555a85bdf9e0084648f4e5aaa54 Mon Sep 17 00:00:00 2001 From: Koen Lageveen Date: Mon, 10 Jun 2019 11:45:03 +0200 Subject: [PATCH] encode style, rendering, liga and authors into dom --- index.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/index.js b/index.js index 1ae68d8..9d11c32 100644 --- a/index.js +++ b/index.js @@ -123,15 +123,15 @@ function renderSelectList() { render_info = ', bitmap'; } $('#select-font').append( - '
' + + '
' + '' + - '' + v.name + '' + - '' + v.author + ' (' + v.year + ') — ' + v.style + render_info + liga_info + '' + + '' + v.name + '' + + '' + v.author + ' (' + v.year + ') — ' + v.style + render_info + liga_info + '' + '' + '' + pinIcon + '' + - ' Info & Download' + icon + '
' + ' Info & Download' + icon + '
' ); }); selectFont();