Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-2138

Can we encode HTML but NOT replace newline characters?

    XMLWordPrintableJSON

Details

    • Question
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.10.0
    • None
    • None

    Description

      Currently %enc{} and %encode{} do HTML encoding and replacing \r\n with nothing.
      We would like to preserve code formatiing (i.e. NOT remove \r\n) however we would like to take advantage of HTML encoding that comes with the %enc and %encode.

      Is it possible to do this?
      Mike

      Attachments

        Activity

          People

            Unassigned Unassigned
            mmichalowicz Michael Michalowicz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: