Commit 2fe2ec3
committed
Encapsulate node names and attr_map in double quotes
Before running `to_pydot`, we encapsulate node names
and attr_map in double quotes to avoid syntax errors
when the node names contain special characters.
Implements the workarounds described in
#1176 (comment)
and
pydot/pydot#258 (comment)1 parent b755c84 commit 2fe2ec3
1 file changed
+30
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
300 | 300 | | |
301 | 301 | | |
302 | 302 | | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
303 | 331 | | |
304 | 332 | | |
305 | 333 | | |
| |||
368 | 396 | | |
369 | 397 | | |
370 | 398 | | |
| 399 | + | |
| 400 | + | |
371 | 401 | | |
372 | 402 | | |
373 | 403 | | |
| |||
0 commit comments