Skip to content

Escaping special characters when printing string literals #122

@kquick

Description

@kquick

In the pretty-printing module (PP.hs) there are many locations that print a value by adding double quotes around the pretty-printed text (e.g. doubleQuotes $ text $ FIELDNAME ELEM). It is likely that many of those locations should be changed to using ppStringLiteral, which will also escape special characters (double-quotes, backslashes, non-ASCII).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions