- Notifications
You must be signed in to change notification settings - Fork28
Commitb352cf7
committed
Fix translation of special characters in psql's LaTeX output modes.
latex_escaped_print() mistranslated \ and failed to provide any translationfor # ^ and ~, all of which would typically lead to LaTeX document syntaxerrors. In addition it didn't translate < > and |, which would typicallyrender as unexpected characters.To some extent this represents shortcomings in ancient versions of LaTeX,which if memory serves had no easy way to render these control charactersas ASCII text. But that's been fixed for, um, decades. In any case thereis no value in emitting guaranteed-to-fail output for these characters.Noted while fooling with test cases added by commit9a98984. Back-patchthe code change to all supported versions.1 parent6a13def commitb352cf7
1 file changed
+30
-6
lines changedLines changed: 30 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2187 | 2187 |
| |
2188 | 2188 |
| |
2189 | 2189 |
| |
2190 |
| - | |
2191 |
| - | |
| 2190 | + | |
| 2191 | + | |
| 2192 | + | |
| 2193 | + | |
| 2194 | + | |
| 2195 | + | |
| 2196 | + | |
| 2197 | + | |
| 2198 | + | |
| 2199 | + | |
2192 | 2200 |
| |
2193 | 2201 |
| |
2194 | 2202 |
| |
2195 | 2203 |
| |
2196 |
| - | |
2197 |
| - | |
| 2204 | + | |
| 2205 | + | |
| 2206 | + | |
| 2207 | + | |
| 2208 | + | |
| 2209 | + | |
| 2210 | + | |
| 2211 | + | |
| 2212 | + | |
| 2213 | + | |
| 2214 | + | |
| 2215 | + | |
| 2216 | + | |
| 2217 | + | |
2198 | 2218 |
| |
2199 | 2219 |
| |
2200 | 2220 |
| |
2201 | 2221 |
| |
2202 | 2222 |
| |
2203 | 2223 |
| |
2204 | 2224 |
| |
| 2225 | + | |
| 2226 | + | |
| 2227 | + | |
2205 | 2228 |
| |
2206 | 2229 |
| |
2207 | 2230 |
| |
2208 |
| - | |
2209 |
| - | |
| 2231 | + | |
| 2232 | + | |
2210 | 2233 |
| |
2211 | 2234 |
| |
| 2235 | + | |
2212 | 2236 |
| |
2213 | 2237 |
| |
2214 | 2238 |
| |
|
0 commit comments
Comments
(0)