diff --git a/classes/footnotes_settings.php b/classes/footnotes_settings.php index 935bdef..3513725 100644 --- a/classes/footnotes_settings.php +++ b/classes/footnotes_settings.php @@ -581,6 +581,11 @@ class Class_FootnotesSettings { $l_arr_Footnote_StartingTag = $this->LoadSetting(FOOTNOTE_INPUTFIELD_PLACEHOLDER_START); $l_arr_Footnote_EndingTag = $this->LoadSetting(FOOTNOTE_INPUTFIELD_PLACEHOLDER_END); + + if ($l_arr_Footnote_StartingTag["value"] == "userdefined" || $l_arr_Footnote_EndingTag["value"] == "userdefined") { + $l_arr_Footnote_StartingTag = $this->LoadSetting(FOOTNOTE_INPUTFIELD_PLACEHOLDER_START_USERDEFINED); + $l_arr_Footnote_EndingTag = $this->LoadSetting(FOOTNOTE_INPUTFIELD_PLACEHOLDER_END_USERDEFINED); + } ?>
diff --git a/readme.txt b/readme.txt index 0cf8856..0c18f74 100755 --- a/readme.txt +++ b/readme.txt @@ -40,6 +40,9 @@ No, this Plugin has been written from scratch. Of course some inspirations on ho == Changelog == += 1.2.1 = +- Bugfix: HowTo example will be displayed correctly if a user defined short code is set + = 1.2.0 = - Feature: New button in the WYSIWYG editor and in the plain text editor to easily implement the footnotes tag - Feature: Icon for the WYSIWYG-editor button