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

Escaping rules in dot strings are not respected #36

Open
akimd opened this issue Sep 23, 2014 · 1 comment
Open

Escaping rules in dot strings are not respected #36

akimd opened this issue Sep 23, 2014 · 1 comment
Milestone

Comments

@akimd
Copy link

akimd commented Sep 23, 2014

Hi,

The syntax of dot clearly makes \ special in strings, and therefore to mean a backslash in a string, one must escape it. However, dot2tex does not strip the double-backslashes, and actually processes the string as if it were a raw string (my issue is with d2tdocpreamble). So, for instance, we cannot embed a double-quote as ", since it is then really output as ", without the backslash stripped (included in labels).

Thanks!

@kjellmf kjellmf added this to the 2.9.1 milestone Sep 27, 2014
@kjellmf kjellmf added the bug label Sep 27, 2014
@kjellmf
Copy link
Collaborator

kjellmf commented Sep 27, 2014

I will look into this. The d2tprocpreamble attribute does not handle newlines properly either. See issue #23

@kjellmf kjellmf added the pri label Mar 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants