1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-09-10 23:06:06 +00:00

Always default to a href='#title' format for tiddler links

The link format will be overridden when we're creating links within
static HTML representations
This commit is contained in:
Jeremy Ruston
2013-06-27 09:03:59 +01:00
parent 8063770dae
commit d93e6b1229
2 changed files with 2 additions and 6 deletions

View File

@@ -43,7 +43,7 @@ describe("WikiText tests", function() {
expect(wiki.renderTiddler("text/html","TiddlerThree")).toBe("<p>\nThe speed of sound</p><p>\nThe light of speed</p>");
});
it("should support attributes specified as macro invocations", function() {
expect(wiki.renderTiddler("text/html","TiddlerFour")).toBe("<p>\n<a class='tw-tiddlylink tw-tiddlylink-internal tw-tiddlylink-missing' href='This%20is%20my%20amazingly%20groovy%20macro!'>\nThis is a link</a></p>");
expect(wiki.renderTiddler("text/html","TiddlerFour")).toBe("<p>\n<a class='tw-tiddlylink tw-tiddlylink-internal tw-tiddlylink-missing' href='#This%20is%20my%20amazingly%20groovy%20macro!'>\nThis is a link</a></p>");
});