mirror of
https://github.com/erusev/parsedown.git
synced 2023-08-10 21:13:06 +03:00
Improve test/CommonMarkTestWeak.php
This commit is contained in:
parent
2cacfb8da4
commit
228d5f4754
@ -15,12 +15,13 @@ require_once(__DIR__ . '/CommonMarkTest.php');
|
||||
*/
|
||||
class CommonMarkTestWeak extends CommonMarkTest
|
||||
{
|
||||
protected $textLevelElementRegex;
|
||||
|
||||
protected function setUp()
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
$textLevelElements = $this->parsedown->getTextLevelElements();
|
||||
|
||||
array_walk($textLevelElements, function (&$element) {
|
||||
$element = preg_quote($element, '/');
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user