mirror of
https://github.com/KnpLabs/KnpMarkdownBundle.git
synced 2024-05-18 05:16:33 +02:00
Transform php markdown to a php5 lib
This commit is contained in:
parent
b79e6b91cc
commit
1a2ed38824
|
@ -2,12 +2,9 @@
|
|||
|
||||
namespace Bundle\MarkdownBundle\Parser;
|
||||
|
||||
require_once(realpath(__DIR__.'/..').'/vendor/parser/markdown.php');
|
||||
require_once(realpath(__DIR__.'/..').'/vendor/parser/MarkdownParser.php');
|
||||
|
||||
class Light extends \Markdown_Parser
|
||||
class Light extends \MarkdownParser
|
||||
{
|
||||
public function __construct()
|
||||
{
|
||||
parent::Markdown_Parser();
|
||||
}
|
||||
|
||||
}
|
|
@ -14,7 +14,7 @@ class LightTest extends \PHPUnit_Framework_TestCase
|
|||
{
|
||||
$parser = new Parser();
|
||||
|
||||
$this->assertTrue($parser instanceof \Markdown_Parser);
|
||||
$this->assertTrue($parser instanceof \MarkdownParser);
|
||||
|
||||
return $parser;
|
||||
}
|
||||
|
|
1547
vendor/parser/MarkdownParser.php
vendored
Normal file
1547
vendor/parser/MarkdownParser.php
vendored
Normal file
File diff suppressed because it is too large
Load diff
1736
vendor/parser/markdown.php
vendored
1736
vendor/parser/markdown.php
vendored
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue