LaTeX writer: Fix description lists contining highlighted code.
Closes #4662.
This commit is contained in:
parent
190ee279c9
commit
966bd94ba2
1 changed files with 4 additions and 2 deletions
|
@ -872,6 +872,8 @@ defListItemToLaTeX (term, defs) = do
|
|||
return $ case defs of
|
||||
((Header{} : _) : _) ->
|
||||
"\\item" <> brackets term'' <> " ~ " $$ def'
|
||||
((CodeBlock{} : _) : _) -> -- see #4662
|
||||
"\\item" <> brackets term'' <> " ~ " $$ def'
|
||||
_ ->
|
||||
"\\item" <> brackets term'' $$ def'
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue