From 58c64025e3276657ab252f56e7f3e8929a414b45 Mon Sep 17 00:00:00 2001 From: chylex <contact@chylex.com> Date: Sat, 12 Aug 2017 23:52:38 +0200 Subject: [PATCH] Fix level 2 lists and links in update changelog modal --- Resources/Scripts/update.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Resources/Scripts/update.js b/Resources/Scripts/update.js index e643500e..05a5ba00 100644 --- a/Resources/Scripts/update.js +++ b/Resources/Scripts/update.js @@ -143,8 +143,8 @@ display: list-item; } -#tweetduck-changelog .l2 { - margin-left: 50px; +#tweetduck-changelog p.l2 { + margin-left: 50px !important; } #tweetduck-changelog a { @@ -283,7 +283,7 @@ .replace(/\*\*(.*?)\*\*/g, "<strong>$1</strong>") .replace(/\*(.*?)\*/g, "<em>$1</em>") .replace(/`(.*?)`/g, "<code>$1</code>") - .replace(/\[(.*?)\]\((.*?)\)/g, "<a href='$2'>$1</a>") + .replace(/\[(.*?)\]\((.*?)\)/g, "<a href='$2' target='_blank'>$1</a>") .replace(/^([a-z0-9].*?)$/gmi, "<p>$1</p>") .replace(/\n\r?\n\r?/g, "<br>"); };