humanwhocodes/print-ready

Page Headers Newlines Don't work

Opened this issue · 2 comments

Works in weasyprint but not this.

Example CSS

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

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.

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.