Skip to content

Commit

Permalink
Merge branch 'release/3.0.8'
Browse files Browse the repository at this point in the history
  • Loading branch information
rhukster committed Apr 27, 2020
2 parents 6bfad9d + fa0eab1 commit 8ebf026
Show file tree
Hide file tree
Showing 17 changed files with 200 additions and 68 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# v3.0.8
## 04/27/2020

1. [](#improved)
* Updated vendor library files
* Use Grav's Parsedown class

# v3.0.7
## 03/05/2020

Expand Down
4 changes: 3 additions & 1 deletion blueprints.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name: Email
version: 3.0.7
slug: email
type: plugin
version: 3.0.8
testing: false
description: Enables the emailing system for Grav
icon: envelope
Expand Down
5 changes: 3 additions & 2 deletions classes/Email.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
use Grav\Common\Config\Config;
use Grav\Common\Grav;
use Grav\Common\Language\Language;
use Grav\Common\Markdown\Parsedown;
use Grav\Common\Twig\Twig;
use Grav\Framework\Form\Interfaces\FormInterface;
use \Monolog\Logger;
Expand Down Expand Up @@ -178,7 +179,7 @@ public function buildMessage(array $params, array $vars = [])
$body = $twig->processString($value, $vars);

if ($params['process_markdown']) {
$parsedown = new \Parsedown();
$parsedown = new Parsedown();
$body = $parsedown->text($body);
}

Expand All @@ -202,7 +203,7 @@ public function buildMessage(array $params, array $vars = [])
$body = !empty($body_part['body']) ? $twig->processString($body_part['body'], $vars) : null;

if ($params['process_markdown']) {
$parsedown = new \Parsedown();
$parsedown = new Parsedown();
$body = $parsedown->text($body);
}

Expand Down
107 changes: 82 additions & 25 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions vendor/composer/autoload_real.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ public static function loadClassLoader($class)
}
}

/**
* @return \Composer\Autoload\ClassLoader
*/
public static function getLoader()
{
if (null !== self::$loader) {
Expand Down
Loading

0 comments on commit 8ebf026

Please sign in to comment.