Skip to content

Commit 7ccf30a

Browse files
committed
lower get sort
1 parent 7bacccb commit 7ccf30a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

syntax/caption.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public function getPType() {
5151
}
5252

5353
public function getSort() {
54-
return 319;
54+
return 310;
5555
}
5656

5757

@@ -83,9 +83,10 @@ private function getParType($type) {
8383
}
8484

8585
public function handle($match, $state, $pos, Doku_Handler $handler){
86+
global $caption_count;
87+
8688
$params = [];
8789
if ($state == DOKU_LEXER_ENTER){
88-
global $caption_count;
8990
// INPUT $match:<type opts|label>
9091
// Strip the <>
9192
$match = substr($match,1,-1);

0 commit comments

Comments
 (0)