mirror of
https://github.com/flynx/pWiki.git
synced 2025-10-29 18:10:09 +00:00
tiny fix...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
eb6fc8819c
commit
8128c9b025
@ -522,7 +522,7 @@ module.BaseParser = {
|
|||||||
// final string...
|
// final string...
|
||||||
MACRO_ARGS: ['(\\s*(',[
|
MACRO_ARGS: ['(\\s*(',[
|
||||||
// arg='val' | arg="val" | arg=val
|
// arg='val' | arg="val" | arg=val
|
||||||
'(?<PREFIXArgName>[a-z]+)\\s*=\\s*(?<PREFIXArgValue>'+([
|
'(?<PREFIXArgName>[a-z-]+)\\s*=\\s*(?<PREFIXArgValue>'+([
|
||||||
// XXX CHROME/NODE BUG: this does not work yet...
|
// XXX CHROME/NODE BUG: this does not work yet...
|
||||||
//'\\s+(?<quote>[\'"])[^\\k<quote>]*\\k<quote>',
|
//'\\s+(?<quote>[\'"])[^\\k<quote>]*\\k<quote>',
|
||||||
"'(?<PREFIXSingleQuotedValue>[^']*)'",
|
"'(?<PREFIXSingleQuotedValue>[^']*)'",
|
||||||
@ -1115,6 +1115,7 @@ object.Constructor('Page', BasePage, {
|
|||||||
// macro with one exception, when used in quote, the body is
|
// macro with one exception, when used in quote, the body is
|
||||||
// not expanded...
|
// not expanded...
|
||||||
//
|
//
|
||||||
|
// XXX can we set default quote filters???
|
||||||
// XXX need a way to escape macros...
|
// XXX need a way to escape macros...
|
||||||
quote: function(args, body, state){
|
quote: function(args, body, state){
|
||||||
var src = args.src //|| args[0]
|
var src = args.src //|| args[0]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user