Browse Source

add anchor links to every included textfile

master
Dom SP 3 years ago
parent
commit
774d912444
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      app/modules/filesinfolders.php

+ 2
- 1
app/modules/filesinfolders.php View File

@@ -135,9 +135,10 @@ class FilesInFolders {
$str = $md->text($str);
//$str = sprintf("%s", $str);
$this->content[$domain][$key."30text"] = sprintf(
"<div class=\"item %s %s\">%s</div>",
"<div class=\"item %s %s\"><a name=\"%s\"></a>%s</div>",
$page,
$key,
$key,
$str
);
}

Loading…
Cancel
Save