1
0
mirror of https://github.com/typemill/typemill.git synced 2025-07-29 18:30:18 +02:00

V2.1.2 fix use of self in callables error parsedown-extension

This commit is contained in:
trendschau
2024-01-29 21:14:09 +01:00
parent 0307007bb3
commit cc42bac830
6 changed files with 2 additions and 27 deletions

View File

@@ -1,4 +0,0 @@
# copy
Content

View File

@@ -1 +0,0 @@
["# copy","Danke sch\u00f6n f\u00fcr das ganze hier!","## bla","Content changed","Das sollte auch so"]

View File

@@ -1,13 +0,0 @@
meta:
navtitle: copy
owner: trendschau
author: 'Sebastian Schürmanns'
created: '2024-01-28'
time: 21-47-19
reference: /welcome/write-content
referencetype: copy
hide: false
noindex: false
modified: '2024-01-28'
title: copy
description: Content

File diff suppressed because one or more lines are too long

View File

@@ -64,9 +64,3 @@
noindex: false
path: /01-cyanine-theme/03-content-elements.md
keyPath: '1.3'
/cyanine-theme/copy:
navtitle: copy
hide: false
noindex: false
path: /01-cyanine-theme/04-copy.txtmd
keyPath: '1.4'

View File

@@ -545,7 +545,6 @@ class ParsedownExtension extends \ParsedownExtra
# has a fix for visual editor mode and option for spanFootnotes
public function buildFootnoteElement()
{
# we do not need a footnote element if we use w3c inline style with spans for footnotes
if($this->spanFootnotes)
{
@@ -564,7 +563,7 @@ class ParsedownExtension extends \ParsedownExtra
),
);
uasort($this->DefinitionData['Footnote'], 'self::sortFootnotes');
uasort($this->DefinitionData['Footnote'], [$this, 'sortFootnotes']);
foreach ($this->DefinitionData['Footnote'] as $definitionId => $DefinitionData)
{