LaTeX writer: fixed detection of otherlangs.
We weren't recursing into inline contexts. Closes #3770.
This commit is contained in:
parent
f5f8485923
commit
cd690d0401
1 changed files with 3 additions and 3 deletions
|
@ -1245,9 +1245,9 @@ mbBraced x = if not (all isAlphaNum x)
|
|||
-- Extract a key from divs and spans
|
||||
extract :: String -> Block -> [String]
|
||||
extract key (Div attr _) = lookKey key attr
|
||||
extract key (Plain ils) = concatMap (extractInline key) ils
|
||||
extract key (Para ils) = concatMap (extractInline key) ils
|
||||
extract key (Header _ _ ils) = concatMap (extractInline key) ils
|
||||
extract key (Plain ils) = query (extractInline key) ils
|
||||
extract key (Para ils) = query (extractInline key) ils
|
||||
extract key (Header _ _ ils) = query (extractInline key) ils
|
||||
extract _ _ = []
|
||||
|
||||
-- Extract a key from spans
|
||||
|
|
Loading…
Add table
Reference in a new issue