mirror of
https://github.com/wassname/template.git
synced 2026-06-28 03:51:51 +08:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| bf862cc4fe | |||
| 4b21625c70 | |||
| 97a01fae73 |
@@ -18,7 +18,8 @@ function normalizeTag(string) {
|
||||
return string
|
||||
.replace(/[\t\n ]+/g, ' ')
|
||||
.replace(/{\\["^`.'acu~Hvs]( )?([a-zA-Z])}/g, (full, x, char) => char)
|
||||
.replace(/{\\([a-zA-Z])}/g, (full, char) => char);
|
||||
.replace(/{\\([a-zA-Z])}/g, (full, char) => char)
|
||||
.replace(/[{}]/gi,''); // Replace curly braces forcing plaintext in latex.
|
||||
}
|
||||
|
||||
export function parseBibtex(bibtex) {
|
||||
|
||||
Reference in New Issue
Block a user