mirror of
https://github.com/wassname/template.git
synced 2026-07-01 22:07:00 +08:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| bf862cc4fe | |||
| 4b21625c70 | |||
| 97a01fae73 |
@@ -18,7 +18,8 @@ function normalizeTag(string) {
|
|||||||
return string
|
return string
|
||||||
.replace(/[\t\n ]+/g, ' ')
|
.replace(/[\t\n ]+/g, ' ')
|
||||||
.replace(/{\\["^`.'acu~Hvs]( )?([a-zA-Z])}/g, (full, x, char) => char)
|
.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) {
|
export function parseBibtex(bibtex) {
|
||||||
|
|||||||
Reference in New Issue
Block a user