- Bugfix: WYSIWYG editor and plain text editor buttons insert footnote short code correctly (also if defined like html tag)

git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@921814 b8457f37-d9ea-0310-8a92-e5e31aec5664
This commit is contained in:
Aricura 2014-05-27 18:40:55 +00:00
parent 7c038dde35
commit 6a2688058d
5 changed files with 9 additions and 3 deletions

View file

@ -232,6 +232,9 @@ function footnotes_getFromString($p_str_Content)
$l_str_EndingTag = $g_arr_FootnotesSettings[FOOTNOTE_INPUTFIELD_PLACEHOLDER_END_USERDEFINED];
}
/* decode html special chars */
$p_str_Content = htmlspecialchars_decode($p_str_Content);
/* check for a footnote placeholder in the current page */
do {
/* get first occurence of a footnote starting tag */