Alex Trofimov 3 лет назад
Родитель
Сommit
a3db2dd66c
2 измененных файлов с 5 добавлено и 1 удалено
  1. 1 1
      inc/classes/BxDolWiki.php
  2. 4 0
      template/css/wiki.css

+ 1 - 1
inc/classes/BxDolWiki.php

@@ -948,7 +948,7 @@ class BxDolParsedown extends Parsedown
 
 
 				$aHandler = array(
 				$aHandler = array(
 					'function' => 'lineElements',
 					'function' => 'lineElements',
-					'argument' => $sText . (isset($_SERVER['REQUEST_URI']) ? ' [#](' . bx_get_self_url() . '#' . $sLink . ' "#")' : ''),
+					'argument' => $sText . (isset($_SERVER['REQUEST_URI']) ? ' [](' . bx_get_self_url() . '#' . $sLink . ' "#")' : ''),
 					'destination' => 'elements',
 					'destination' => 'elements',
 				);
 				);
 
 

+ 4 - 0
template/css/wiki.css

@@ -100,3 +100,7 @@ html .stackedit-container {
 .markdown-body p {
 .markdown-body p {
     margin-top:0;
     margin-top:0;
 }
 }
+
+.markdown-body a[title="#"]:after {
+    content:"#";
+}