| Index: pkg/docgen/lib/dart2yaml.dart
|
| diff --git a/pkg/docgen/lib/dart2yaml.dart b/pkg/docgen/lib/dart2yaml.dart
|
| index a03c7f1a2718f2207e73ebc7b62e9f7dc0ba29e0..a481aca4b440377c0238d67aff1785b13a907ac5 100644
|
| --- a/pkg/docgen/lib/dart2yaml.dart
|
| +++ b/pkg/docgen/lib/dart2yaml.dart
|
| @@ -52,7 +52,8 @@ void _addLevel(StringBuffer yaml, Map documentData, int level) {
|
| * Returns an escaped String form of the inputted element.
|
| */
|
| String _processElement(var element) {
|
| - return "\"${element.toString().replaceAll("\"", "\\\"")}\"\n";
|
| + return "\"${element.toString().replaceAll('\\', '\\\\')
|
| + .replaceAll("\"", "\\\"")}\"\n";
|
| }
|
|
|
| /**
|
|
|