diff --git a/pwiki2.js b/pwiki2.js index aaee874..957a9a5 100755 --- a/pwiki2.js +++ b/pwiki2.js @@ -495,8 +495,8 @@ object.Constructor('BasePage', { // this will simply be ignored, i.e. passed trough the parser // without change... -var parser = -module.parser = { +var BaseParser = +module.BaseParser = { // patterns... // @@ -870,6 +870,11 @@ module.parser = { .join('') }, } +var parser = +module.parser = { + __proto__: BaseParser, +} + // XXX PATH_VARS need to handle path variables... // XXX macros and filters should be features for simpler plugin handlng (???)