Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent SlowCheetah from transforming carriage returns in attributes. #306

Open
CooPzZ opened this issue Jan 8, 2025 · 0 comments
Open

Comments

@CooPzZ
Copy link

CooPzZ commented Jan 8, 2025

Can we prevent SlowCheetah on like a nlog.config file from transforming the 'carriage returns' in an attribute to the encoded version?
I'd prefer just to keep them as is.

eg:

	<variable name="VerboseLayout"
              value="${date:format=yyyy-MM-dd HH\:mm\:ss.fff}
${environment}${exception:format=toString,Data}" />

Becomes this?

	<variable name="VerboseLayout"
              value="${date:format=yyyy-MM-dd HH\:mm\:ss.fff}&#xD;&#xA;${environment}${exception:format=toString,Data}" />

I'm also not doing a transform here either.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant