Project

General

Profile

Actions

Defect #20811

closed

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

Added by Simon Deziel over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
PDF export
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

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.

Actions #1

Updated by Jun NAITOH over 8 years ago

Actions #2

Updated by Jun NAITOH over 8 years ago

This problem fixed by rbpdf 1.18.7.
please bundle update.

Actions #3

Updated by Toshi MARUYAMA over 8 years ago

  • Target version set to 2.6.8
Actions #4

Updated by Toshi MARUYAMA over 8 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.

Actions

Also available in: Atom PDF