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

Fix #203
print-window-tiddler
Jeremy Ruston 2013-11-08 12:26:32 +00:00
rodzic cc0011abd3
commit e93ac76581
2 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -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: [{

Wyświetl plik

@ -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: [{