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

Page Headers Newlines Don't work #59

Open
lunarcloud opened this issue Jun 6, 2023 · 2 comments
Open

Page Headers Newlines Don't work #59

lunarcloud opened this issue Jun 6, 2023 · 2 comments

Comments

@lunarcloud
Copy link

Works in weasyprint but not this.

Example CSS

@page{
  @top-left {
    content: "First\aSecond";
    white-space: pre;
  }
}
@lunarcloud
Copy link
Author

Just in case this isn't appropriate to open here, I've opened a bug in pagedjs pagedjs/pagedjs#142 - since it does happen with that tool as well.

@nzakas
Copy link
Contributor

nzakas commented Jun 7, 2023

Yeah, this is a pagedjs issue. PrintReady just loads and renders and doesn’t have any logic related to how things are rendered.

If it gets fixed in pagedjs I can include the update version.

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

2 participants