• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revisão5d82fcf77a9b85c6d9d3a60aaa6ec58232c900f2 (tree)
Hora2021-09-27 01:49:43
Autorumorigu <umorigu@gmai...>
Commiterumorigu

Mensagem de Log

BugTrack/2520 Remove spaces between heading text and dagger

Mudança Sumário

Diff

--- 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 }