mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 01:16:44 +02:00
Merge branch 'MDL-29585-master-fixup' of https://github.com/FMCorz/moodle
This commit is contained in:
commit
b4fc107a35
1 changed files with 3 additions and 1 deletions
|
@ -181,7 +181,9 @@ abstract class wiki_markup_parser extends generic_parser {
|
|||
$text = trim($text);
|
||||
|
||||
if (!$this->pretty_print && $level == 1) {
|
||||
$text .= parser_utils::h('a', '['.get_string('editsection', 'wiki').']', array('href' => "edit.php?pageid={$this->wiki_page_id}§ion=" . urlencode($text), 'class' => 'wiki_edit_section'));
|
||||
$text .= ' ' . parser_utils::h('a', '['.get_string('editsection', 'wiki').']',
|
||||
array('href' => "edit.php?pageid={$this->wiki_page_id}§ion=" . urlencode($text),
|
||||
'class' => 'wiki_edit_section'));
|
||||
}
|
||||
|
||||
if ($level <= $this->maxheaderdepth) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue