diff options
| author | czaks <marcin@6irc.net> | 2015-04-12 03:08:40 +0200 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2015-04-12 03:08:40 +0200 |
| commit | 1b16e97f67853e37641dee3ca1e7d9022a786f2b (patch) | |
| tree | 80f2089857d5e26e92bbacd9ba9b8e528182b67a | |
| parent | 197d5f236f0d35126f90c767c4580a71600298b4 (diff) | |
[code] fix regexps
| -rw-r--r-- | inc/config.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/config.php b/inc/config.php index b7c60125..f11ee5f1 100644 --- a/inc/config.php +++ b/inc/config.php @@ -625,8 +625,8 @@ $config['markup'][] = array("/^[ |\t]*==(.+?)==[ |\t]*$/m", "<span class=\"heading\">\$1</span>"); // Code markup. This should be set to a regular expression, using tags you want to use. Examples: - // "/\[code\](.*?)[\/code]/is" - // "/```([a-z0-9-]{0,20})\n(.*?)\n?```/s" + // "/\[code\](.*?)\[\/code\]/is" + // "/```([a-z0-9-]{0,20})\n(.*?)\n?```\n?/s" $config['markup_code'] = false; // Repair markup with HTML Tidy. This may be slower, but it solves nesting mistakes. Tinyboad, at the |
