Merge pull request #103 from prmadev/master
Making hr tags compatible with xml
This commit is contained in:
commit
016eab10df
4 changed files with 4 additions and 4 deletions
|
@ -226,7 +226,7 @@ func (w *HTMLWriter) WriteFootnotes(d *Document) {
|
|||
return
|
||||
}
|
||||
w.WriteString(`<div class="footnotes">` + "\n")
|
||||
w.WriteString(`<hr class="footnotes-separatator">` + "\n")
|
||||
w.WriteString(`<hr class="footnotes-separatator"/>` + "\n")
|
||||
w.WriteString(`<div class="footnote-definitions">` + "\n")
|
||||
for i, definition := range w.footnotes.list {
|
||||
id := i + 1
|
||||
|
|
2
org/testdata/footnotes.html
vendored
2
org/testdata/footnotes.html
vendored
|
@ -33,7 +33,7 @@ this is not part of <sup class="footnote-reference"><a id="footnote-reference-8"
|
|||
</div>
|
||||
</div>
|
||||
<div class="footnotes">
|
||||
<hr class="footnotes-separatator">
|
||||
<hr class="footnotes-separatator"/>
|
||||
<div class="footnote-definitions">
|
||||
<div class="footnote-definition">
|
||||
<sup id="footnote-1"><a href="#footnote-reference-1">1</a></sup>
|
||||
|
|
2
org/testdata/footnotes_in_headline.html
vendored
2
org/testdata/footnotes_in_headline.html
vendored
|
@ -10,7 +10,7 @@ Title <sup class="footnote-reference"><a id="footnote-reference-1" href="#footno
|
|||
</h2>
|
||||
</div>
|
||||
<div class="footnotes">
|
||||
<hr class="footnotes-separatator">
|
||||
<hr class="footnotes-separatator"/>
|
||||
<div class="footnote-definitions">
|
||||
<div class="footnote-definition">
|
||||
<sup id="footnote-1"><a href="#footnote-reference-1">1</a></sup>
|
||||
|
|
2
org/testdata/misc.html
vendored
2
org/testdata/misc.html
vendored
|
@ -574,7 +574,7 @@ Footnotes
|
|||
</h2>
|
||||
</div>
|
||||
<div class="footnotes">
|
||||
<hr class="footnotes-separatator">
|
||||
<hr class="footnotes-separatator"/>
|
||||
<div class="footnote-definitions">
|
||||
<div class="footnote-definition">
|
||||
<sup id="footnote-1"><a href="#footnote-reference-1">1</a></sup>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue