Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs containing backslashes seem to get garbled #1364

Closed
Hixie opened this issue Apr 2, 2017 · 2 comments
Closed

Docs containing backslashes seem to get garbled #1364

Hixie opened this issue Apr 2, 2017 · 2 comments
Labels
customer-flutter Issues originating from important to Flutter P2 A bug or feature request we're likely to work on

Comments

@Hixie
Copy link
Contributor

Hixie commented Apr 2, 2017

Docs containing backslashes seem to get garbled. For example:
https://www.dartdocs.org/documentation/path/1.4.1/path/Style/windows.html
https://www.dartdocs.org/documentation/path/1.4.1/path/Style-class.html

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.
@Hixie Hixie added customer-flutter Issues originating from important to Flutter P2 A bug or feature request we're likely to work on labels Apr 2, 2017
@jcollins-g
Copy link
Contributor

jcollins-g commented Aug 17, 2018

#1741 has a possible fix for some cases of this, but the real 'problem' is that markdown allows escaping and always assumes that a backslash is an intentional markdown escape.

It might be that we mark this WAI and tell everyone to use double backslashes to display literal ones, just like you do in markdown.

@jcollins-g
Copy link
Contributor

Going to close this "working as intended". Either use double backslashes, or backquotes, to solve this problem as in dart-lang/path#45.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
customer-flutter Issues originating from important to Flutter P2 A bug or feature request we're likely to work on
Projects
None yet
Development

No branches or pull requests

2 participants