BCcampus / pressbooks-mpdf

[UNMAINTAINED] open source HTML to PDF conversion
GNU General Public License v2.0
7 stars 7 forks source link

Long book titles appear in mPDF running headers, even when a short title is provided #75

Open josieg opened 5 years ago

josieg commented 5 years ago

Description

When a book has a long title, the full title appears in the mPDF running header rather than being replaced by the short title.

Expected behaviour

I expect that when I have a long book title and I have set a short title on the Book Info page, that the short title will be used in the mPDF running header.

Actual behaviour

Currently, the full book title will appear in the mPDF running head, even when the book title is very long and a short title has been provided.

Steps to reproduce the problem

  1. Create a book with a long title.

  2. Set a short title on the Book INfo page. long title

  3. Export book as mPDF.

  4. Look at the running head. You should see the book's full title. runninghead1