From 32cd367a1ea051dad009ca1aedca21a606abc785 Mon Sep 17 00:00:00 2001 From: Jan Philipp Timme Date: Tue, 13 Mar 2018 12:02:18 +0100 Subject: [PATCH] Fix small typo. --- use-markdown.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/use-markdown.js b/use-markdown.js index 51427eb..671f164 100644 --- a/use-markdown.js +++ b/use-markdown.js @@ -1,9 +1,9 @@ "use strict"; function loadMdFromUrl(url) { - $.get(url, function(date) { + $.get(url, function(data) { var converter = new showdown.Converter(); - var html = converter.makeHtml(text); + var html = converter.makeHtml(data); $("#markdown-content").html(html); });