Going from markdown to epub3, how do I set the language on the HTML tag in the epub?

For epub3, the template looks like this:

<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops"$if(lang)$ xml:lang="$lang$"$endif$>

In my YAML metadata block, I have this:

language: ja

This sets the language in content.opf:

    <dc:language>ja</dc:language>

But it doesn't set the language on the HTML tag.

I also tried adding

language: ja

to the metadata, but this didn't change the value on the HTML tag, either.

--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/c500692e-7472-40fa-991e-378b7ab173d5%40googlegroups.com.