1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-03 13:17:24 +02:00

Remove unused markdown parser.

This commit is contained in:
Lóna Lore
2017-01-28 19:12:49 +01:00
parent 96250005d7
commit 7143c3e571
4 changed files with 10 additions and 1795 deletions

View File

@@ -92,7 +92,6 @@ $core_image = array (
'bb_glyph.php' => '147a7d5075947f99b8599df1ebf835f1', 'bb_glyph.php' => '147a7d5075947f99b8599df1ebf835f1',
'bb_h.php' => '945730e2d340571a0eb7e4aa78cd41c6', 'bb_h.php' => '945730e2d340571a0eb7e4aa78cd41c6',
'bb_img.php' => '8f0747f6b462f57c6ccf00c3c15a62ed', 'bb_img.php' => '8f0747f6b462f57c6ccf00c3c15a62ed',
'bb_markdown.php' => '871c8ca54ef739f9bae2774e814ded30',
'bb_nobr.php' => 'd364d4de62a75e674116d463e2374b5b', 'bb_nobr.php' => 'd364d4de62a75e674116d463e2374b5b',
'bb_p.php' => '6e238c62bd55a6dae4aa7006456e7e90', 'bb_p.php' => '6e238c62bd55a6dae4aa7006456e7e90',
'bb_video.php' => '9ea3a1c1d80c6d753b7b424ec746d073', 'bb_video.php' => '9ea3a1c1d80c6d753b7b424ec746d073',
@@ -528,7 +527,6 @@ $core_image = array (
'mail_validation_class.php' => '6ced3acdeb2e3ba8f785d4a82c0b9b86', 'mail_validation_class.php' => '6ced3acdeb2e3ba8f785d4a82c0b9b86',
'mailout_admin_class.php' => 'd11d71c22f267978ce3c068ef45baed7', 'mailout_admin_class.php' => 'd11d71c22f267978ce3c068ef45baed7',
'mailout_class.php' => 'cf46e699b92faad90f55820a696501f5', 'mailout_class.php' => 'cf46e699b92faad90f55820a696501f5',
'markdown.php' => 'ad868fa8895d098e0e22a4b2ecf845e6',
'media_class.php' => 'df5ca4c876b5254a4d50b33d752c80c5', 'media_class.php' => 'df5ca4c876b5254a4d50b33d752c80c5',
'menu_class.php' => '3dbca61018aa3c732ba9aa8d9d70f19c', 'menu_class.php' => '3dbca61018aa3c732ba9aa8d9d70f19c',
'menumanager_class.php' => 'efa909f4b5496fe8fd6360225cd67c75', 'menumanager_class.php' => 'efa909f4b5496fe8fd6360225cd67c75',

View File

@@ -1,40 +0,0 @@
<?php
/**
* Copyright (C) e107 Inc (e107.org), Licensed under GNU GPL (http://www.gnu.org/licenses/gpl.txt)
*
* DIV block bbcode
*/
if (!defined('e107_INIT')) { exit; }
class bb_markdown extends e_bb_base
{
/**
* Called prior to save
* Re-assemble the bbcode
*/
function toDB($code_text, $parm)
{
return '[markdown]'.$code_text.'[/markdown]';
}
/**
* Convert Markdown
*/
function toHTML($code_text, $parm)
{
require_once(e_HANDLER."markdown.php");
return Markdown($code_text);
}
}
?>

View File

@@ -45,7 +45,7 @@ class e_bbcode
'b', 'justify', 'file', 'stream', 'b', 'justify', 'file', 'stream',
'textarea', 'list', 'time', 'textarea', 'list', 'time',
'spoiler', 'hide', 'youtube', 'sanitised', 'spoiler', 'hide', 'youtube', 'sanitised',
'p', 'h', 'nobr', 'block','table','th', 'tr','tbody','td','markdown','video','glyph' 'p', 'h', 'nobr', 'block', 'table', 'th', 'tr', 'tbody', 'td', 'video', 'glyph'
); );
foreach($this->core_bb as $c) foreach($this->core_bb as $c)

File diff suppressed because it is too large Load Diff