Commit a25dc00
Avoid characters in file names that are illegal in Windows
In https://trac.modelica.org/Modelica/ticket/2024 it was noticed that
the help files generated by this OMC script contained the under
Windows illegal characters '<' and '>'. This patch fixes that issue.
The characters are replaced by something that resambles URI encoding
but not quite since using actual "%3C" causes other issues when overly
clever browser revert "%3c" into "<" and hence the filename can not
be found by the browser. Therefore this patch uses "x3C" and "x3E".1 parent 1cb219f commit a25dc00
1 file changed
+8
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | | - | |
117 | | - | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
118 | 122 | | |
119 | 123 | | |
120 | 124 | | |
| |||
124 | 128 | | |
125 | 129 | | |
126 | 130 | | |
| 131 | + | |
| 132 | + | |
127 | 133 | | |
128 | 134 | | |
129 | 135 | | |
| |||
0 commit comments