mirror of
https://github.com/Jermolene/TiddlyWiki5.git
synced 2025-12-30 05:41:49 -08:00
Update tests for 1e9e1a1fdc
This commit is contained in:
parent
1e9e1a1fdc
commit
396efedc3f
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ describe("WikiText tests", function() {
|
|||
expect(wiki.renderTiddler("text/html","TiddlerThree")).toBe("<p>The speed of sound</p><p>The light of speed</p>");
|
||||
});
|
||||
it("should support attributes specified as macro invocations", function() {
|
||||
expect(wiki.renderTiddler("text/html","TiddlerFour")).toBe("<p><a class='tc-tiddlylink tc-tiddlylink-missing' href='#This%20is%20my%20''amazingly''%20groovy%20macro!'>This is a link</a></p>");
|
||||
expect(wiki.renderTiddler("text/html","TiddlerFour")).toBe("<p><a class='tc-tiddlylink tc-tiddlylink-missing' href='#This%20is%20my%20''amazingly''%20groovy%20macro!'>This is a link</a></p>");
|
||||
});
|
||||
it("should identify wikiwords to automatically link", function() {
|
||||
expect(wiki.renderText("text/html","text/vnd-tiddlywiki","No wikilinks here").indexOf("<a") !== -1).toBe(false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue