mirror of
https://github.com/flynx/pWiki.git
synced 2025-11-01 11:30:08 +00:00
notes...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
635a7c729d
commit
a3fa8985ec
@ -884,7 +884,8 @@ object.Constructor('Page', BasePage, {
|
|||||||
slots[name]
|
slots[name]
|
||||||
?? slot
|
?? slot
|
||||||
|
|
||||||
// handle slot-content...
|
// handle <content/>...
|
||||||
|
// XXX BUG: nested slots are not handled correctly here...
|
||||||
for(var i in slot){
|
for(var i in slot){
|
||||||
if(typeof(slot[i]) != 'string'
|
if(typeof(slot[i]) != 'string'
|
||||||
&& slot[i].name == 'content'){
|
&& slot[i].name == 'content'){
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user