Skip to content

Commit

Permalink
Manually fixing content with curly brackets -- see #82
Browse files Browse the repository at this point in the history
  • Loading branch information
enridaga committed Jun 4, 2023
1 parent 4893e7e commit 2cf4626
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
4 changes: 2 additions & 2 deletions content/_polifonia-project/folk_ngram_analysis/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,8 @@ If you use the code in this repository, please cite this software as follows:
```
@software{diamond_fonn_2022,
address = {Galway, Ireland},
title = {{FONN} - {FOlk} {N}-gram {aNalysis}},
shorttitle = {{FONN}},
title = {% raw %}{{{% endraw %}FONN} - {FOlk} {N}-gram {aNalysis}},
shorttitle = {% raw %}{{{% endraw %}FONN}},
url = {https://github.com/polifonia-project/folk_ngram_analysis},
publisher = {National University of Ireland, Galway},
author = {Diamond, Danny and Shahid, Abdul and McDermott, James},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ If you use the code in this repository, please cite this software as follow:
```
@software{diamond_fonn_2022,
address = {Galway, Ireland},
title = {{FONN} - {FOlk} {N}-gram {aNalysis}},
shorttitle = {{FONN}},
title = {% raw %}{{{% endraw %}FONN} - {FOlk} {N}-gram {aNalysis}},
shorttitle = {% raw %}{{{% endraw %}FONN}},
url = {https://github.com/polifonia-project/folk_ngram_analysis},
publisher = {National University of Ireland, Galway},
author = {Diamond, Danny and Shahid, Abdul and McDermott, James},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ If you use the code in this repository, please cite this software as follow:
author = {Danny Diamond and
Abdul Shahid and
James McDermott},
title = {{polifonia-project/folk\_ngram\_analysis: FONN
title = {% raw %}{{{% endraw %}polifonia-project/folk\_ngram\_analysis: FONN
v0.5dev}},
month = may,
year = 2022
Expand Down
5 changes: 5 additions & 0 deletions fix-curly-brackets.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash

[ -z "$1" ] && echo "Missing file argument" && exit 1

sed -i '' -e 's#{{#{% raw %}{{{% endraw %}#g' $1

0 comments on commit 2cf4626

Please sign in to comment.