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

Contents in <pre> tags loses formatting #3

Open
marek-obuchowicz opened this issue Apr 11, 2019 · 0 comments
Open

Contents in <pre> tags loses formatting #3

marek-obuchowicz opened this issue Apr 11, 2019 · 0 comments

Comments

@marek-obuchowicz
Copy link

On our page we are using <pre>...</pre> tags, which contain source code snippets (with multiple spaces, newlines, etc.

Current behaviour
I have noticed that such snippets lose their formatting, as contents of this tag are minified as well.

Expected behaviour
Contents of <pre> tags remain unchanged while rest of HTML is minified

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