mirror of
https://github.com/TiddlyWiki/TiddlyWiki5.git
synced 2026-05-02 14:57:20 +00:00
Text-slicer improvements
1. Switch from using the text field of lists for storing the associated filter to using the field `toc-list-filter` (to make it harder to accidentally parse the text of an ordinary tiddler as a filter) 2. Fix several bugs
This commit is contained in:
@@ -175,8 +175,9 @@ Slicer.prototype.processNode = function(domNode) {
|
||||
this.parentStack.push({type: tagName, title: this.addTiddler({
|
||||
"toc-type": "list",
|
||||
"toc-list-type": tagName,
|
||||
"toc-list-filter": "[tag<currentTiddler>!has[draft.of]]",
|
||||
text: "",
|
||||
title: title,
|
||||
text: "[tag<currentTiddler>!has[draft.of]]",
|
||||
list: [],
|
||||
tags: tags
|
||||
})});
|
||||
|
||||
Reference in New Issue
Block a user