Closed (fixed)
Project:
Drupal core
Component:
book.module
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
5 May 2005 at 23:04 UTC
Updated:
20 May 2005 at 08:59 UTC
Proper subsections of a top-level section in printer-friendly output have level equal to the parent.
That is, we have
Structure: Expected depth Actual depth
section 1 1 1
section 1.1 2 1
section 1.1.1 3 2
section 1.2 2 1
The attached patch is a one-line change. It increments $depth before calling book_print_recurse() from book_print().
I'm marking this as critical since it is interfering with generation of PDF from the Handbook.
Djun
| Comment | File | Size | Author |
|---|---|---|---|
| book_printer_friendly_depth.patch | 583 bytes | puregin |
Comments
Comment #1
dries commentedCommitted to HEAD and DRUPAL-4-6. Thanks.
Comment #2
(not verified) commented