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:
@@ -1,4 +0,0 @@
|
||||
# copy
|
||||
|
||||
Content
|
||||
|
@@ -1 +0,0 @@
|
||||
["# copy","Danke sch\u00f6n f\u00fcr das ganze hier!","## bla","Content changed","Das sollte auch so"]
|
@@ -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
@@ -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'
|
||||
|
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user