git.iko.soy/typeable/pandoc
on master help sign in
Docx reader: Fix hdr handling in block norm
7fd48b3Jesse Rosenthal
src/Text/Pandoc/Readers/Docx.hs+2
@@ -157,6 +157,8 @@ blockNormalize (Para (Space : ils)) = blockNormalize (Para ils)
157blockNormalize (Para ils) = Para $ strNormalize ils
157blockNormalize (Para ils) = Para $ strNormalize ils
158blockNormalize (Header n attr (Space : ils)) =
158blockNormalize (Header n attr (Space : ils)) =
159 blockNormalize $ Header n attr ils
159 blockNormalize $ Header n attr ils
160+blockNormalize (Header n attr ils) =
161+ Header n attr $ strNormalize ils
160blockNormalize (Table (Space : ils) align width hdr cells) =
162blockNormalize (Table (Space : ils) align width hdr cells) =
161 blockNormalize $ Table ils align width hdr cells
163 blockNormalize $ Table ils align width hdr cells
162blockNormalize (Table ils align width hdr cells) =
164blockNormalize (Table ils align width hdr cells) =