mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
Some more tweaks to documentation php code
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@572 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -139,6 +139,12 @@ function autoformat__handle(&$i, $prefix, $first, $fail_same = false) {
|
||||
$text .= "\n</pre>";
|
||||
$state = ']';
|
||||
|
||||
// Html
|
||||
} elseif (preg_match("@^</?(pre|ul|ol|li|div|blockquote|>)@", $line)) {
|
||||
$line = preg_replace("@^<>@","",$line);
|
||||
$text .= $line;
|
||||
$state = '';
|
||||
|
||||
// Just text
|
||||
} else if ($fail_same && $autoformat__lines[$i-1]{$len-1} != ' ' && $text != '') {
|
||||
// consecutive * and # lines are different items
|
||||
|
||||
Reference in New Issue
Block a user