Commit ae62250
authored
Escape both
* Test escaping both `<>` symbols in SVG
Also parametrize test_gate_with_less_greater_str so it is easier to
add checks for more wire symbols.
* Escape both `<>` symbols when used as symbols in SVG
* Skip typecheck at import of IPython.display
* Test short-circuit fixup of a multi-line SVG text
Strings with `\n` are replaced with '?'.
* Test SVG replacements are all in effect
* Apply all fixups to SVG string labels<> characters in SVG test labels (#6056)1 parent cde65be commit ae62250
2 files changed
+23
-21
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
30 | 23 | | |
31 | 24 | | |
32 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| 24 | + | |
23 | 25 | | |
24 | 26 | | |
25 | 27 | | |
| |||
59 | 61 | | |
60 | 62 | | |
61 | 63 | | |
62 | | - | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
63 | 76 | | |
64 | 77 | | |
65 | | - | |
| 78 | + | |
66 | 79 | | |
67 | 80 | | |
68 | | - | |
| 81 | + | |
69 | 82 | | |
70 | | - | |
| 83 | + | |
71 | 84 | | |
72 | | - | |
73 | 85 | | |
74 | 86 | | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
| 87 | + | |
0 commit comments