Properly escape character literals in Haddocks
Character literals in Haddock should not be written as plain `'\n'` since single quotes are for linking identifiers. Besides, since we want the character literal to be monospaced, we really should use `@\'\\n\'@`. [skip ci]
Showing
- compiler/basicTypes/Literal.hs 1 addition, 1 deletioncompiler/basicTypes/Literal.hs
- compiler/utils/StringBuffer.hs 4 additions, 4 deletionscompiler/utils/StringBuffer.hs
- libraries/base/GHC/IO/Device.hs 1 addition, 1 deletionlibraries/base/GHC/IO/Device.hs
- libraries/base/GHC/IO/Encoding.hs 1 addition, 1 deletionlibraries/base/GHC/IO/Encoding.hs
- libraries/base/GHC/IO/Handle/Types.hs 6 additions, 6 deletionslibraries/base/GHC/IO/Handle/Types.hs
- libraries/base/GHC/ResponseFile.hs 1 addition, 1 deletionlibraries/base/GHC/ResponseFile.hs
- libraries/base/System/IO.hs 5 additions, 5 deletionslibraries/base/System/IO.hs
Loading
Please register or sign in to comment