Skip to content

Commit 9ddac83

Browse files
committed
declarators render unnamed symbols
#style
1 parent c6cc73c commit 9ddac83

File tree

1 file changed

+2
-2
lines changed
  • share/mrdocs/addons/generator/common/partials/symbol

1 file changed

+2
-2
lines changed

share/mrdocs/addons/generator/common/partials/symbol/name.hbs

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@
2424
{{else~}}
2525
{{#if (and link.url (not nolink))~}}
2626
{{! Symbol with URL: link to the symbol documentation ~}}
27-
{{#>markup/a href=link.url}}{{name}}{{/markup/a~}}
27+
{{#>markup/a href=link.url}}{{or name "<unnamed>"}}{{/markup/a~}}
2828
{{else~}}
2929
{{! Symbol without URL: plain text ~}}
30-
{{name~}}
30+
{{or name "<unnamed>"~}}
3131
{{/if~}}
3232
{{#if (contains (arr "explicit" "partial") template.kind)~}}
3333
{{! Explicit or partial template: render the template arguments ~}}

0 commit comments

Comments
 (0)