From bf8071d34cd133faf72b61fa9c15d9ef0e91f3ff Mon Sep 17 00:00:00 2001 From: Tobe O Date: Tue, 13 Nov 2018 18:37:31 -0500 Subject: [PATCH] Fix typo --- CHANGELOG.md | 3 +++ lib/src/virtual_directory.dart | 2 +- pubspec.yaml | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f3dfc388..f7b2963a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +# 2.0.2 +* Fixed invalid HTML for directory listings. + # 2.0.1 * Remove use of `sendFile`. * Add a `p.isWithin` check to ensure that paths do not escape the `source` directory. diff --git a/lib/src/virtual_directory.dart b/lib/src/virtual_directory.dart index 4060f6cc..0a5a6d13 100644 --- a/lib/src/virtual_directory.dart +++ b/lib/src/virtual_directory.dart @@ -159,7 +159,7 @@ class VirtualDirectory { ..write( '') ..write('') - ..write(''); + ..write(''); res.write('
  • ..
  • '); diff --git a/pubspec.yaml b/pubspec.yaml index 37fc94a2..1b6da222 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -4,7 +4,7 @@ environment: sdk: ">=1.8.0 <3.0.0" homepage: https://github.com/angel-dart/static author: Tobe O -version: 2.0.1 +version: 2.0.2 dependencies: angel_framework: ^2.0.0-alpha file: ^5.0.0