Skip to content

Commit 8e33d8d

Browse files
committed
fix style hash
1 parent f769ad6 commit 8e33d8d

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

site/lib/src/layouts/dash_layout.dart

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// Use of this source code is governed by a BSD-style license that can be
33
// found in the LICENSE file.
44

5-
import 'dart:convert' show htmlEscape;
6-
75
import 'package:jaspr/jaspr.dart';
86
import 'package:jaspr_content/jaspr_content.dart';
97

@@ -102,9 +100,7 @@ abstract class FlutterDocsLayout extends PageLayoutBase {
102100
),
103101
link(
104102
rel: 'stylesheet',
105-
href:
106-
'/assets/css/main.css?'
107-
'hash=${htmlEscape.convert(generatedStylesHash)}',
103+
href: '/assets/css/main.css?hash=$generatedStylesHash',
108104
),
109105

110106
if (pageData['js'] case final List<Object?> jsList)

0 commit comments

Comments
 (0)