Tigthen up fix to #5446.
We only treat Span as transparent if it has no attributes.
This commit is contained in:
parent
32e358bfe9
commit
144b2eabc2
1 changed files with 2 additions and 2 deletions
|
@ -473,8 +473,8 @@ flatten outer
|
|||
(Quoted _ _, _) -> keep f i
|
||||
(_, Quoted _ _) -> keep f i
|
||||
-- spans are not rendered using RST inlines, so we can keep them
|
||||
(Span _ _, _) -> keep f i
|
||||
(_, Span _ _) -> keep f i
|
||||
(Span ("",[],[]) _, _) -> keep f i
|
||||
(_, Span ("",[],[]) _) -> keep f i
|
||||
-- inlineToRST handles this case properly so it's safe to keep
|
||||
(Link _ _ _, Image _ _ _) -> keep f i
|
||||
-- parent inlines would prevent links from being correctly
|
||||
|
|
Loading…
Add table
Reference in a new issue