{"action":"created","issue":{"url":"https://api.github.com/repos/Jermolene/TiddlyWiki5/issues/2472","repository_url":"https://api.github.com/repos/Jermolene/TiddlyWiki5","labels_url":"https://api.github.com/repos/Jermolene/TiddlyWiki5/issues/2472/labels{/name}","comments_url":"https://api.github.com/repos/Jermolene/TiddlyWiki5/issues/2472/comments","events_url":"https://api.github.com/repos/Jermolene/TiddlyWiki5/issues/2472/events","html_url":"https://github.com/Jermolene/TiddlyWiki5/issues/2472","id":158065859,"number":2472,"title":"Table-of-Contents macro crashes on recursive loops","user":{"login":"yuzijie","id":2365206,"avatar_url":"https://avatars2.githubusercontent.com/u/2365206?v=4","gravatar_id":"","url":"https://api.github.com/users/yuzijie","html_url":"https://github.com/yuzijie","followers_url":"https://api.github.com/users/yuzijie/followers","following_url":"https://api.github.com/users/yuzijie/following{/other_user}","gists_url":"https://api.github.com/users/yuzijie/gists{/gist_id}","starred_url":"https://api.github.com/users/yuzijie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuzijie/subscriptions","organizations_url":"https://api.github.com/users/yuzijie/orgs","repos_url":"https://api.github.com/users/yuzijie/repos","events_url":"https://api.github.com/users/yuzijie/events{/privacy}","received_events_url":"https://api.github.com/users/yuzijie/received_events","type":"User","site_admin":false},"labels":[{"id":63612690,"url":"https://api.github.com/repos/Jermolene/TiddlyWiki5/labels/bug","name":"bug","color":"e11d21","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-06-02T06:05:49Z","updated_at":"2018-05-24T14:41:23Z","closed_at":null,"author_association":"NONE","body":"Hi, I have noticed that if you put an “Examples” tag on the “HelloThere” tiddler and click through the table of contents on the sidebar, it will crash tiddlywiki easily after you click “HelloThere” again.\n\nI understand the reason why it happens like that, but I would like to see an option for Table-of-Contents macro to limit the number of levels it can trace.\n\nCurrently, all tiddlers that are tagged with tiddler A are shown under tiddler A in the TOC tree. Inspired by the “toc-link” field, it will be really helpful for organizing tiddlers if there is another field in the parent tiddler, e.g. “toc-filter”, that can **ignore** some child tiddlers in the hierarchy using filters. For instance, ignore tiddlers with certain tags.\n"},"comment":{"url":"https://api.github.com/repos/Jermolene/TiddlyWiki5/issues/comments/391739981","html_url":"https://github.com/Jermolene/TiddlyWiki5/issues/2472#issuecomment-391739981","issue_url":"https://api.github.com/repos/Jermolene/TiddlyWiki5/issues/2472","id":391739981,"user":{"login":"pmario","id":374655,"avatar_url":"https://avatars2.githubusercontent.com/u/374655?v=4","gravatar_id":"","url":"https://api.github.com/users/pmario","html_url":"https://github.com/pmario","followers_url":"https://api.github.com/users/pmario/followers","following_url":"https://api.github.com/users/pmario/following{/other_user}","gists_url":"https://api.github.com/users/pmario/gists{/gist_id}","starred_url":"https://api.github.com/users/pmario/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmario/subscriptions","organizations_url":"https://api.github.com/users/pmario/orgs","repos_url":"https://api.github.com/users/pmario/repos","events_url":"https://api.github.com/users/pmario/events{/privacy}","received_events_url":"https://api.github.com/users/pmario/received_events","type":"User","site_admin":false},"created_at":"2018-05-24T14:41:22Z","updated_at":"2018-05-24T14:41:22Z","author_association":"CONTRIBUTOR","body":"@Jermolene ... bump!"}}
{"actor":{"display_login":"pmario"}}