mirror of
https://github.com/TiddlyWiki/TiddlyWiki5.git
synced 2026-04-30 17:47:13 +00:00
Fix problem with parsing text references
This commit is contained in:
@@ -39,8 +39,11 @@ describe("Utility tests", function() {
|
||||
expect(ptr("ti#tle##index")).toEqual(
|
||||
{ title : 'ti#tle', index : 'index' }
|
||||
);
|
||||
expect(ptr("ti!tle!!field")).toEqual(
|
||||
{ title : 'ti!tle', field : 'field' }
|
||||
);
|
||||
expect(ptr("title##index!!field")).toEqual(
|
||||
{ title : 'title', index : 'index!!field' }
|
||||
{ title : 'title##index', field : 'field' }
|
||||
);
|
||||
expect(ptr("title!!field##index")).toEqual(
|
||||
{ title : 'title', field : 'field##index' }
|
||||
|
||||
Reference in New Issue
Block a user