Defect #20811
long <pre> lines are missing from PDF export of wiki pages
Status: | Closed | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | PDF export | |||
Target version: | 2.6.8 | |||
Resolution: | Fixed | Affected version: | 3.1.1 |
Description
Put the following pre block in a wiki page:
mkdir -m 0700 ~root/.ssh cat << EOF >> ~root/.ssh/authorized_keys ssh-rsa AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA= jdoe@example.com EOF
Export it as a PDF and notice it skipped the "AAAA... jdoe@example.com" part leaving only this:
mkdir -m 0700 ~root/.ssh cat << EOF >> ~root/.ssh/authorized_keys ssh-rsa EOF
The ssh-rsa key is a 4096 bit one so it results in a long string of 739 chars total.
Associated revisions
History
#1
Updated by Jun NAITOH over 6 years ago
I have created issue.
#2
Updated by Jun NAITOH over 6 years ago
This problem fixed by rbpdf 1.18.7.
please bundle update.
#3
Updated by Toshi MARUYAMA over 6 years ago
- Target version set to 2.6.8
#4
Updated by Toshi MARUYAMA over 6 years ago
- Status changed from New to Closed
- Resolution set to Fixed
I have updated rbpdf to 1.18.7 in trunk, 3.1-stable, 3.0-stable and 2.6-stable, thanks.