From 1afa3d0e367e36f2ca0c342821fc3f6b2916186d Mon Sep 17 00:00:00 2001 From: Aricura Date: Wed, 28 May 2014 07:00:27 +0000 Subject: [PATCH] - Bugfix: Replace footnote short code git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@922225 b8457f37-d9ea-0310-8a92-e5e31aec5664 --- includes/replacer.php | 3 ++- readme.txt | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/includes/replacer.php b/includes/replacer.php index 18a58be..ba0d961 100644 --- a/includes/replacer.php +++ b/includes/replacer.php @@ -246,7 +246,8 @@ function footnotes_getFromString($p_str_Content) } /* decode html special chars */ - $p_str_Content = htmlspecialchars_decode($p_str_Content); + $l_str_StartingTag = htmlspecialchars($l_str_StartingTag); + $l_str_EndingTag = htmlspecialchars($l_str_EndingTag); /* check for a footnote placeholder in the current page */ do { diff --git a/readme.txt b/readme.txt index 9cd3baf..1653312 100755 --- a/readme.txt +++ b/readme.txt @@ -22,7 +22,7 @@ Stable Tag: 1.2.1 - Display the **footnotes** *Reference Container* inside a Widget - Button in both the Visual and the Text editor - Add **footnotes** into your Page / Post with ease of use by selecting your text and clicking the button - + = Example Usage = This is an example. Please note, that you can customize the shortcode you want to use. @@ -65,6 +65,7 @@ No, this Plugin has been written from scratch. Of course some inspirations on ho - Bugfix: WYSIWYG editor and plain text editor buttons insert footnote short code correctly (also if defined like html tag) - Feature: The admin can decide which "I love footnotes" text (or not text) will be displayed in the footer - Add: Buttons next to the reference label to expand/collapse the reference container if set to "collapse by default" +- Bugfix: Replace footnote short code = 1.2.1 = - Bugfix: HowTo example will be displayed correctly if a user defined short code is set