Docx reader: Fix hdr handling in block norm
`blockNormalize` previously forgot to account for the case in which a Header's inlines did not start with a space.
This commit is contained in:
parent
557b302731
commit
7fd48b30e0
1 changed files with 2 additions and 0 deletions
|
@ -157,6 +157,8 @@ blockNormalize (Para (Space : ils)) = blockNormalize (Para ils)
|
|||
blockNormalize (Para ils) = Para $ strNormalize ils
|
||||
blockNormalize (Header n attr (Space : ils)) =
|
||||
blockNormalize $ Header n attr ils
|
||||
blockNormalize (Header n attr ils) =
|
||||
Header n attr $ strNormalize ils
|
||||
blockNormalize (Table (Space : ils) align width hdr cells) =
|
||||
blockNormalize $ Table ils align width hdr cells
|
||||
blockNormalize (Table ils align width hdr cells) =
|
||||
|
|
Loading…
Add table
Reference in a new issue