From 62ae66ef9e83ba7678087f80cb6b7018badd8dd4 Mon Sep 17 00:00:00 2001 From: filip Date: Thu, 29 Oct 2020 16:50:22 +0100 Subject: switch constitution page to a new markup library Parsedown instead of obsolete php-markdown --- en/about/constitution/index.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'en/about/constitution/index.php') diff --git a/en/about/constitution/index.php b/en/about/constitution/index.php index 42aaae82a..e736f097f 100644 --- a/en/about/constitution/index.php +++ b/en/about/constitution/index.php @@ -33,11 +33,12 @@ $dictionary = read_translation_file($locale, array('about/constitution', 'common
text(file_get_contents('mageia.org_statutes_' . $locale . '.md')); } else { - echo Markdown(file_get_contents('mageia.org_statutes_en.md')); + echo $Parsedown->text(file_get_contents('mageia.org_statutes_en.md')); } ?>
-- cgit v1.2.1