Defect #20811

long <pre> lines are missing from PDF export of wiki pages

Added by Simon Deziel almost 3 years ago. Updated over 2 years ago.

Status:ClosedStart date:
Priority:NormalDue 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... " 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

Revision 14813
Added by Toshi MARUYAMA over 2 years ago

update rbpdf version to 1.18.7 (#20591, #20811)

Revision 14814
Added by Toshi MARUYAMA over 2 years ago

Merged r14813 from trunk to 3.1-stable (#20591, #20811)

update rbpdf version to 1.18.7.

Revision 14815
Added by Toshi MARUYAMA over 2 years ago

Merged r14813 from trunk to 3.0-stable (#20591, #20811)

update rbpdf version to 1.18.7.

Revision 14816
Added by Toshi MARUYAMA over 2 years ago

Merged r14813 from trunk to 2.6-stable (#20591, #20811)

update rbpdf version to 1.18.7.

History

#2 Updated by Jun NAITOH over 2 years ago

This problem fixed by rbpdf 1.18.7.
please bundle update.

#3 Updated by Toshi MARUYAMA over 2 years ago

  • Target version set to 2.6.8

#4 Updated by Toshi MARUYAMA over 2 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.

Also available in: Atom PDF