Permalink
Browse files

Don't textile tags at all when they start a block

Prepend a space to textile them if needed.
  • Loading branch information...
bloatware committed Oct 11, 2018
1 parent 6beeb39 commit 6414e80afcdc57cbe4472a823f50ca8ffc72940d
Showing with 3 additions and 1 deletion.
  1. +3 −1 textpattern/vendors/Netcarver/Textile/Parser.php
@@ -2808,7 +2808,9 @@ protected function blocks($text)
$block = $o2.$content.$c2;
}
} else {
$block = $this->graf($block);
$block = strpos($block, ' ') === 0 ?
$this->graf($block) :
$this->shelve($block);
}
}

0 comments on commit 6414e80

Please sign in to comment.