aboutsummaryrefslogtreecommitdiff
path: root/pub/guiedit/pmwiki.syntax.js
diff options
context:
space:
mode:
Diffstat (limited to 'pub/guiedit/pmwiki.syntax.js')
-rw-r--r--pub/guiedit/pmwiki.syntax.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/pub/guiedit/pmwiki.syntax.js b/pub/guiedit/pmwiki.syntax.js
index 3dbd65a2..57d0f09a 100644
--- a/pub/guiedit/pmwiki.syntax.js
+++ b/pub/guiedit/pmwiki.syntax.js
@@ -92,7 +92,7 @@
// directives, forms
['form', '!directive>keyword', /(\(:input[^\S\r\n]+)(\S.*?)(:\))/g,
- /^((pm)?form|text(area)?|radio|checkbox|select|email|tel|number|defaults?|submit|reset|hidden|password|search|url|date|month|color|datalist|file|image|reset|button|e_\w+|captcha|pmtoken|end)/],
+ /^((pm)?form|text(area)?|radio|checkbox|select|email|tel|number|defaults?|submit|reset|hidden|password|search|url|date|month|color|datalist|file|image|reset|button|e_\w+|captcha|pmtoken|end|star)/],
['dir0', '*directive', /\(:\w[-\w]* *:\)/g], // simple
['dir1', '!directive', /(\(:\w[-\w]*)(.*?)(:\))/g], // with attributes
@@ -112,6 +112,8 @@
// simple tables
['tablecapt', '=table', /^(\|\|!)(.+)(!\|\|)$/mg],
+ ['tablerwsp1', 'table', /(\+\++)(?=\s*\|\|)/g],
+ ['tablerwsp2', 'escaped', /\|\|(__+|\^\^+)(?=\|\|)/g, /([_^]+)/],
['tablerow', '!table', /^\|\|.*\|\|.*$/mg, /((?:\|\|)+)(!?)/g],
['tableattr', '!table', /^(\|\|)(.*)($)/mg],