Skip to content

Commit be86d03

Browse files
geisterfurz007jcollins-g
geisterfurz007
andauthored
Fix link to extensions (dart-lang#2717)
* Fix link to extensions * Rebuild AOT templates Co-authored-by: Janice Collins <jcollins@google.com>
1 parent 7665b26 commit be86d03

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/src/generator/templates.aot_renderers_for_html.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9640,7 +9640,7 @@ String renderSidebarForLibrary<T extends _i17.Documentable>(
96409640
buffer.write('''
96419641
<li class="section-title"><a href="''');
96429642
buffer.write(context1.href.toString());
9643-
buffer.write('''#extension">Extensions</a></li>''');
9643+
buffer.write('''#extensions">Extensions</a></li>''');
96449644
var context4 = context1.publicExtensionsSorted;
96459645
if (context4 != null) {
96469646
for (var context5 in context4) {

lib/templates/html/_sidebar_for_library.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
{{/hasPublicClasses}}
99

1010
{{#hasPublicExtensions}}
11-
<li class="section-title"><a href="{{{href}}}#extension">Extensions</a></li>
11+
<li class="section-title"><a href="{{{href}}}#extensions">Extensions</a></li>
1212
{{#publicExtensionsSorted}}
1313
<li>{{{ linkedName }}}</li>
1414
{{/publicExtensionsSorted}}

0 commit comments

Comments
 (0)