Renaming fn_backlink_text to fn_backlink_html to clarify that this is HTML content.

This commit is contained in:
Michel Fortin 2015-10-16 21:13:21 -04:00
parent e244a9e33a
commit e1e3fc2a01

View file

@ -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)) {