Make sure external links have the class "tw-tiddlylink-external"

Fix #203
This commit is contained in:
Jeremy Ruston
2013-11-08 12:26:32 +00:00
parent cc0011abd3
commit e93ac76581
2 changed files with 2 additions and 0 deletions
@@ -41,6 +41,7 @@ exports.parse = function() {
tag: "a",
attributes: {
href: {type: "string", value: this.match[0]},
"class": {type: "string", value: "tw-tiddlylink-external"},
target: {type: "string", value: "_blank"}
},
children: [{
@@ -44,6 +44,7 @@ exports.parse = function() {
tag: "a",
attributes: {
href: {type: "string", value: link},
"class": {type: "string", value: "tw-tiddlylink-external"},
target: {type: "string", value: "_blank"}
},
children: [{