Skip to content

Commit

Permalink
fixed davalign2 support(in edit.php)
Browse files Browse the repository at this point in the history
  • Loading branch information
turnermm committed May 28, 2018
1 parent c3052eb commit 7c85d03
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion action/edit.php
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,8 @@ function($matches) {
$text = preg_replace('/PERCfilePERC/ms','%%<file>%%', $text);

$divalign = false;
if($this->helper->has_plugin('divalign2_center')) {
if($this->helper->has_plugin('divalign2')
||$this->helper->has_plugin('divalign2_center')) {
$divalign = true;
$text = preg_replace_callback('/\n([;#]{3})/',

Expand Down

0 comments on commit 7c85d03

Please sign in to comment.