Ticket #34 (closed defect: fixed)
extra whitespace above headers breaks header
| Reported by: | zak | Owned by: | why |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | test | Version: | SUPER |
| Keywords: | whitespace | Cc: |
Description
I noticed (in svn/branches/superredcloth r236) if there is more than one blank line above a header, that header is treated as a regular paragraph. Here are some tests to demonstrate:
--- name: header with 1 blank line above in: |- text h1. Header out: <p>text</p><h1>Header</h1> #passes --- name: header with 2 blank lines above in: |- text h1. Header out: <p>text</p><h1>Header</h1> #actual-out: <p>text</p><p>h1. Header</p> --- name: header with 1 blank line above and with no text in: |- h1. Header out: <h1>Header</h1> #actual-out: <p>h1. Header</p>
Attachments
Change History
Note: See
TracTickets for help on using
tickets.