Renaming fn_backlink_text to fn_backlink_html to clarify that this is HTML content.
This commit is contained in:
parent
e244a9e33a
commit
e1e3fc2a01
1 changed files with 5 additions and 6 deletions
|
|
@ -32,11 +32,10 @@ class MarkdownExtra extends \Michelf\Markdown {
|
|||
public $fn_link_class = "footnote-ref";
|
||||
public $fn_backlink_class = "footnote-backref";
|
||||
|
||||
# Text to be displayed within footnote backlinks. The default is '↩'; the
|
||||
# U+FE0E on the end is a Unicode variant selector used to prevent iOS from
|
||||
# displaying the arrow character as an emoji. Note: This value is inserted
|
||||
# as raw HTML, so dangerous/special characters must be pre-escaped!
|
||||
public $fn_backlink_text = '↩︎';
|
||||
# Content to be displayed within footnote backlinks. The default is '↩';
|
||||
# the U+FE0E on the end is a Unicode variant selector used to prevent iOS
|
||||
# from displaying the arrow character as an emoji.
|
||||
public $fn_backlink_html = '↩︎';
|
||||
|
||||
# Class name for table cell alignment (%% replaced left/center/right)
|
||||
# For instance: 'go-%%' becomes 'go-left' or 'go-right' or 'go-center'
|
||||
|
|
@ -1481,7 +1480,7 @@ class MarkdownExtra extends \Michelf\Markdown {
|
|||
$title = $this->encodeAttribute($title);
|
||||
$attr .= " title=\"$title\"";
|
||||
}
|
||||
$backlink_text = $this->fn_backlink_text;
|
||||
$backlink_text = $this->fn_backlink_html;
|
||||
$num = 0;
|
||||
|
||||
while (!empty($this->footnotes_ordered)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue