Skip to content

Commit

Permalink
fix include references not recognized by move plugin and backlinks pa…
Browse files Browse the repository at this point in the history
  • Loading branch information
lprobsth committed Jan 13, 2024
1 parent 86d24a1 commit a1c81ad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions syntax/include.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ function render($format, Doku_Renderer $renderer, $data) {
if ($format == 'metadata') {
$renderer->meta['relation']['references'][$id] = $exists;
$renderer->meta['relation']['haspart'][$id] = $exists;
idx_get_indexer()->addMetaKeys($ID, 'relation_references', $id);
if (!$sect && !$flags['firstsec'] && !$flags['linkonly'] && !isset($renderer->meta['plugin_include']['secids'][$id])) {
$renderer->meta['plugin_include']['secids'][$id] = array('hid' => 'plugin_include__'.str_replace(':', '__', $id), 'pos' => $pos);
}
Expand Down

0 comments on commit a1c81ad

Please sign in to comment.