| Index: lib/dartdoc/dartdoc.dart
|
| diff --git a/lib/dartdoc/dartdoc.dart b/lib/dartdoc/dartdoc.dart
|
| index 57191283f9718f3c214726e17a676fc2e7f09cf6..c636ac0b6a63d161bb630d28bd0b9c5c9680a209 100644
|
| --- a/lib/dartdoc/dartdoc.dart
|
| +++ b/lib/dartdoc/dartdoc.dart
|
| @@ -229,6 +229,9 @@ class Dartdoc {
|
| /** Set this to add content before the footer */
|
| String preFooterText = '';
|
|
|
| + /** Set this to add any attributes to the HTML element */
|
| + String htmlAttributes = '';
|
| +
|
| /**
|
| * From exposes the set of libraries in `world.libraries`. That maps library
|
| * *keys* to [Library] objects. The keys are *not* exactly the same as their
|
| @@ -343,7 +346,7 @@ class Dartdoc {
|
| write(
|
| '''
|
| <!DOCTYPE html>
|
| - <html>
|
| + <html${htmlAttributes.trim() == '' ? '' : ' $htmlAttributes'}>
|
| <head>
|
| ''');
|
| writeHeadContents(title);
|
|
|