diff options
author | pmichaud <pmichaud@524c5546-5005-0410-9a3e-e25e191bd360> | 2007-03-26 16:26:39 +0000 |
---|---|---|
committer | pmichaud <pmichaud@524c5546-5005-0410-9a3e-e25e191bd360> | 2007-03-26 16:26:39 +0000 |
commit | 145fd386ae44cd0dcf7f638734a2a3b1601ebf34 (patch) | |
tree | 7e12a0b5db51384dffbf16554d2455e4a6ef232a /scripts/transition.php | |
parent | 03ac6f60430f5fcbac45ab772e1c2f63c8a85bf8 (diff) | |
download | pmwiki.svn-145fd386ae44cd0dcf7f638734a2a3b1601ebf34.tar.bz2 |
Add $EnableWSPre.
git-svn-id: svn://pmwiki.org/pmwiki/trunk@1962 524c5546-5005-0410-9a3e-e25e191bd360
Diffstat (limited to 'scripts/transition.php')
-rw-r--r-- | scripts/transition.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/transition.php b/scripts/transition.php index 0fc6df48..65eddb80 100644 --- a/scripts/transition.php +++ b/scripts/transition.php @@ -14,6 +14,10 @@ Transitions defined in this script: + $Transition['wspre'] - leading spaces are pre text + + $Transition['version'] < 2001941 - all transitions listed above + $Transition['wikiwords'] - 2.1-style WikiWord processing $Transition['version'] < 2001924 - all transitions listed above @@ -58,6 +62,12 @@ ## if ?trans=0 is specified, then we don't do any fixups. if (@$_REQUEST['trans']==='0') return; +## Transitions from 2.2.0-beta41 +if (@$Transition['version'] < 2001941) + SDVA($Transition, array('wspre' => 1)); + +if (@$Transition['wspre']) SDV($EnableWSPre, 1); + ## Transitions from 2.2.0-beta24 if (@$Transition['version'] < 2001924) SDVA($Transition, array('wikiwords' => 1)); |