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

white-space style doesn't work #47

Open
jagadyudha opened this issue Jan 10, 2023 · 2 comments
Open

white-space style doesn't work #47

jagadyudha opened this issue Jan 10, 2023 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@jagadyudha
Copy link

style white-space: pre-wrap doesn't work

This is what i want:
image

But the spaces are gone when it is converted to a pdf:
image

@danomatic danomatic added enhancement New feature or request help wanted Extra attention is needed labels Jan 11, 2023
@danomatic
Copy link
Owner

Good catch. White space support is limited right now, with some work done to support the pre tag. The next step would be to do a more thorough dive into the different style values and make sure that each one has been implemented.

@JorgeAtPaladin
Copy link

JorgeAtPaladin commented May 6, 2024

Hey @danomatic , we'd love to either have white-space: pre or being able to have elements such as <pre><span>...</span></pre> work. Right now <pre> is wrongly implemented to render inner elements as raw text.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants