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