mirror of
https://github.com/flynx/pWiki.git
synced 2025-12-21 02:21:40 +00:00
...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
2bcbaadada
commit
9efcb84734
@ -754,9 +754,7 @@ object.Constructor('Page', BasePage, {
|
|||||||
// XXX might be a good idea to simply ref the parent
|
// XXX might be a good idea to simply ref the parent
|
||||||
// context here -- i.e. link filters into a chain...
|
// context here -- i.e. link filters into a chain...
|
||||||
parent_filters,
|
parent_filters,
|
||||||
text: [...this.expand(body, state)]
|
data: [...this.expand(body, state)],
|
||||||
.flat()
|
|
||||||
.join(''),
|
|
||||||
}
|
}
|
||||||
// restore global filters...
|
// restore global filters...
|
||||||
state.filters = parent_filters
|
state.filters = parent_filters
|
||||||
@ -818,7 +816,9 @@ object.Constructor('Page', BasePage, {
|
|||||||
// XXX also need to hanlde nested filters (no longer flat)...
|
// XXX also need to hanlde nested filters (no longer flat)...
|
||||||
// XXX merge this with .parent_filters...
|
// XXX merge this with .parent_filters...
|
||||||
filters = section.filters
|
filters = section.filters
|
||||||
section = section.text }
|
section = [...that.postProcess(section.data, state)]
|
||||||
|
.flat()
|
||||||
|
.join('') }
|
||||||
return (filters
|
return (filters
|
||||||
// if this.SKIP_FILTERS is set and used then all other
|
// if this.SKIP_FILTERS is set and used then all other
|
||||||
// filters will be skipped...
|
// filters will be skipped...
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user