Skip to content

Commit 8fa36dc

Browse files
authored
[BUGFIX] Extra closing parenthesis in link replacement (#35)
Removes an extra closing parenthesis that was being added to shorthand links when replaced.
1 parent 86a49d9 commit 8fa36dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/expand-links

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ foreach ($filesAndLinks['files'] as $file) {
2929
// If the file exists, ensure we make a proper link to it
3030
if ($link['toFile'] !== null) {
3131
$replaceLinkString = '[' . $link['linkText'] . ']'
32-
. '(' . $link['toFile'] . ')'
32+
. '(' . $link['toFile']
3333
. ($link['titleAttribute'] ? ' "' . $link['titleAttribute'] . '"' : '')
3434
. ')';
3535
}

0 commit comments

Comments
 (0)