Wiki markup addition and ability to disable/enable it

This commit is contained in:
Savetheinternet 2010-11-26 01:41:35 -08:00
parent 5fd0d21d56
commit a4299fe4a6
2 changed files with 8 additions and 3 deletions

View file

@ -101,6 +101,8 @@
// Automatically convert things like "..." to Unicode characters ("<22>")
define('AUTO_UNICODE', true, true);
// Use some Wiki-like syntax (''em'', '''strong''', ==Heading==, etc)
define('WIKI_MARKUP', true, true);
// Whether to turn URLs into functional links
define('MARKUP_URLS', true, true);
define('URL_REGEX', '/' . '(https?|ftp):\/\/' . '([\w\-]+\.)+[a-zA-Z]{2,6}' . '(\/([\w\-~\.#\/?=&;:+%]+))?' . '/', true);