diff options
Diffstat (limited to 'scripts/stdmarkup.php')
-rw-r--r-- | scripts/stdmarkup.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/stdmarkup.php b/scripts/stdmarkup.php index 4abff4d8..2b46faaf 100644 --- a/scripts/stdmarkup.php +++ b/scripts/stdmarkup.php @@ -18,6 +18,12 @@ Script maintained by Petko YOTOV www.pmwiki.org/petko */ +## for simpler configuration +if (IsEnabled($EnableObfuscateEmails, 0)) + $LinkFunctions['mailto:'] = 'ObfuscateLinkIMap'; +if (IsEnabled($EnablePreserveLineBreaks, 0)) + $HTMLPNewline = '<br/>'; + ## first we preserve text in [=...=] and [@...@] function PreserveText($sigil, $text, $lead) { if ($sigil=='=') return $lead.Keep($text); |