Skip to content

Commit 09b6db8

Browse files
committed
EPUB writer: Add xml:lang to package element.
See #9372.
1 parent d9a70d2 commit 09b6db8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Text/Pandoc/Writers/EPUB.hs

+1
Original file line numberDiff line numberDiff line change
@@ -614,6 +614,7 @@ pandocToEPUB version opts doc = do
614614
EPUB2 -> "2.0"
615615
EPUB3 -> "3.0")
616616
,("xmlns","http://www.idpf.org/2007/opf")
617+
,("xml:lang", epubLanguage metadata)
617618
,("unique-identifier","epub-id-1")
618619
] ++
619620
[("prefix","ibooks: http://vocabulary.itunes.apple.com/rdf/ibooks/vocabulary-extensions-1.0/") | version == EPUB3]) $

0 commit comments

Comments
 (0)