• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#objective-cqtwindows誰得cocoapythonphprubygameguibathyscaphec翻訳omegat計画中(planning stage)frameworktwittertestdomvb.netdirectxbtronarduinopreviewerゲームエンジン

Commit MetaInfo

Revisioncf98bc38140f4f23824fe777f3cd0cb96e406394 (tree)
Time2021-09-27 01:49:43
Authorumorigu <umorigu@gmai...>
Commiterumorigu

Log Message

BugTrack/2520 Remove spaces between heading text and dagger

Change Summary

Incremental Difference

--- a/lib/convert_html.php
+++ b/lib/convert_html.php
@@ -995,12 +995,9 @@ class Body extends Element
995995 } else {
996996 $anchor = '&aname(' . $id . ',super,full,nouserselect){' . $_symbol_anchor . '};';
997997 }
998-
999- $text = ' ' . $text;
1000-
998+ $text = trim($text);
1001999 // Add 'page contents' link to its heading
10021000 $this->contents_last = & $this->contents_last->add(new Contents_UList($text, $level, $id));
1003-
10041001 // Add heding
10051002 return array($text . $anchor, $this->count > 1 ? "\n" . $top : '', $autoid);
10061003 }