Test for #5795: remove redundant 'dfn' classes
This commit is contained in:
parent
14cd2641e0
commit
b7bc980089
1 changed files with 6 additions and 6 deletions
|
@ -1,17 +1,17 @@
|
|||
```
|
||||
% pandoc -f html -t html
|
||||
<dfn class="dfn" id="foo" title="bax"><span>foo</span></dfn>
|
||||
<dfn id="foo" title="bax"><span>foo</span></dfn>
|
||||
^D
|
||||
<dfn id="foo" class="dfn" title="bax"><span>foo</span></dfn>
|
||||
<dfn id="foo" title="bax"><span>foo</span></dfn>
|
||||
```
|
||||
|
||||
```
|
||||
% pandoc -f html -t native
|
||||
<dfn class="dfn" id="foo" title="bax"><span>foo</span></dfn>
|
||||
<dfn id="foo" title="bax"><span>foo</span></dfn>
|
||||
^D
|
||||
[ Plain
|
||||
[ Span
|
||||
( "foo" , [ "dfn" , "dfn" ] , [ ( "title" , "bax" ) ] )
|
||||
( "foo" , [ "dfn" ] , [ ( "title" , "bax" ) ] )
|
||||
[ Span ( "" , [] , [] ) [ Str "foo" ] ]
|
||||
]
|
||||
]
|
||||
|
@ -19,7 +19,7 @@
|
|||
|
||||
```
|
||||
% pandoc -f native -t html
|
||||
[Plain [Span ("foo",["dfn","dfn"],[("title","bax")]) [Span ("",[],[]) [Str "foo"]]]]
|
||||
[Plain [Span ("foo",["dfn"],[("title","bax")]) [Span ("",[],[]) [Str "foo"]]]]
|
||||
^D
|
||||
<dfn id="foo" class="dfn" title="bax"><span>foo</span></dfn>
|
||||
<dfn id="foo" title="bax"><span>foo</span></dfn>
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue