Wiki markup addition and ability to disable/enable it

This commit is contained in:
Savetheinternet committed 2010-11-26 01:41:35 -08:00
1 parent 5fd0d21d56
commit a4299fe4a6
2 files changed
+8 -3

No files matched your search

+2
View File
@@ -101,6 +101,8 @@
// Automatically convert things like "..." to Unicode characters ("�")
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);