parent
d8627f3768
commit
36f9609a14
|
@ -141,7 +141,7 @@
|
||||||
requestAnimationFrame(adjustCodeHeight);
|
requestAnimationFrame(adjustCodeHeight);
|
||||||
|
|
||||||
function makeAuthor(text) {
|
function makeAuthor(text) {
|
||||||
const match = text.match(/^(.+?)(?:\s+<(.+?)>)?(?:\s+\((.+?)\))$/);
|
const match = text.match(/^(.+?)(?:\s+<(.+?)>)?(?:\s+\((.+?)\))?$/);
|
||||||
if (!match) {
|
if (!match) {
|
||||||
return document.createTextNode(text);
|
return document.createTextNode(text);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user