Skip to content

Commit

Permalink
Use HTML class instead of id for "references"
Browse files Browse the repository at this point in the history
  • Loading branch information
kaushalmodi committed Jul 20, 2018
1 parent 5b9fdd5 commit 4e4e7d2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ox-hugo-pandoc-cite.el
Expand Up @@ -183,7 +183,7 @@ LOFFSET is the offset added to the base level of 1 for headings."
(when (re-search-forward org-hugo-pandoc-cite--references-header-regexp nil :noerror)
(replace-match (concat level-mark
" References {#references}\n\n"
"<div id=\"refs .references\">"
"<div id=\"refs\" class=\"references\">"
"\n <div></div>\n\n")) ;See footnote 1
(re-search-forward "^:::$")
(replace-match "\n\n</div> <!-- ending references -->")))
Expand Down
2 changes: 1 addition & 1 deletion test/site/content/posts/citations-example-toml.md
Expand Up @@ -40,7 +40,7 @@ Some text.

## References {#references}

<div id="refs .references">
<div id="refs" class="references">
<div></div>


Expand Down
2 changes: 1 addition & 1 deletion test/site/content/posts/citations-example-yaml.md
Expand Up @@ -24,7 +24,7 @@ Content in section 2.

## References {#references}

<div id="refs .references">
<div id="refs" class="references">
<div></div>


Expand Down

0 comments on commit 4e4e7d2

Please sign in to comment.