Skip to content

Commit

Permalink
Use backquotes for backslashes to avoid markdown escaping. (dart-lang…
Browse files Browse the repository at this point in the history
  • Loading branch information
jcollins-g authored Aug 29, 2018
1 parent a66a2b5 commit ede81bf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkgs/path/lib/src/style.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ abstract class Style {
/// start with "/". Used by UNIX, Linux, Mac OS X, and others.
static final Style posix = new PosixStyle();

/// Windows paths use "\" (backslash) as separators. Absolute paths start with
/// a drive letter followed by a colon (example, "C:") or two backslashes
/// ("\\") for UNC paths.
/// Windows paths use `\` (backslash) as separators. Absolute paths start with
/// a drive letter followed by a colon (example, `C:`) or two backslashes
/// (`\\`) for UNC paths.
// TODO(rnystrom): The UNC root prefix should include the drive name too, not
// just the "\\".
// just the `\\`.
static final Style windows = new WindowsStyle();

/// URLs aren't filesystem paths, but they're supported to make it easier to
Expand Down

0 comments on commit ede81bf

Please sign in to comment.