Skip to content

Commit 0fd72f6

Browse files
committed
Fix plugins "Table of Contents" and "Auto Anchors" to render at save time
1 parent 2ab1cfd commit 0fd72f6

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

plugins/_table_contents.plugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ function()
117117
* @param array Associative array of parameters
118118
* @return boolean true if we can render something for the required output format
119119
*/
120-
function DisplayItemAsHtml( & $params )
120+
function RenderItemAsHtml( & $params )
121121
{
122122
$content = & $params['data'];
123123

plugins/auto_anchors_plugin/_auto_anchors.plugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ function AdminEndHtmlHead( & $params )
179179
/**
180180
* Perform rendering
181181
*/
182-
function DisplayItemAsHtml( & $params )
182+
function RenderItemAsHtml( & $params )
183183
{
184184
$content = & $params['data'];
185185

0 commit comments

Comments
 (0)