diff options
author | Frédéric Guillot <contact@fredericguillot.com> | 2014-02-21 19:06:53 -0500 |
---|---|---|
committer | Frédéric Guillot <contact@fredericguillot.com> | 2014-02-21 19:06:53 -0500 |
commit | c80ec9f10c23066c160fcff9a4da90cd483d54b9 (patch) | |
tree | 52b77dfd5b2a1acbfb05b24e4d11a2e19838ac36 /vendor/Michelf/MarkdownExtra.php | |
parent | 252b589c3498c0caf8a4da3dac79b3e0af98828f (diff) |
Replace Mardown parser by another one to be able to disallow markup or entities
Diffstat (limited to 'vendor/Michelf/MarkdownExtra.php')
-rw-r--r-- | vendor/Michelf/MarkdownExtra.php | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/vendor/Michelf/MarkdownExtra.php b/vendor/Michelf/MarkdownExtra.php new file mode 100644 index 00000000..04e45292 --- /dev/null +++ b/vendor/Michelf/MarkdownExtra.php @@ -0,0 +1,38 @@ +<?php +# +# Markdown Extra - A text-to-HTML conversion tool for web writers +# +# PHP Markdown Extra +# Copyright (c) 2004-2013 Michel Fortin +# <http://michelf.com/projects/php-markdown/> +# +# Original Markdown +# Copyright (c) 2004-2006 John Gruber +# <http://daringfireball.net/projects/markdown/> +# +namespace Michelf; + + +# Just force Michelf/Markdown.php to load. This is needed to load +# the temporary implementation class. See below for details. +\Michelf\Markdown::MARKDOWNLIB_VERSION; + +# +# Markdown Extra Parser Class +# +# Note: Currently the implementation resides in the temporary class +# \Michelf\MarkdownExtra_TmpImpl (in the same file as \Michelf\Markdown). +# This makes it easier to propagate the changes between the three different +# packaging styles of PHP Markdown. Once this issue is resolved, the +# _MarkdownExtra_TmpImpl will disappear and this one will contain the code. +# + +class MarkdownExtra extends \Michelf\_MarkdownExtra_TmpImpl { + + ### Parser Implementation ### + + # Temporarily, the implemenation is in the _MarkdownExtra_TmpImpl class. + # See note above. + +} + |