1 parent 4846148 commit 4e7327dCopy full SHA for 4e7327d
src/contentScript.js
@@ -247,7 +247,7 @@ function insertButton() {
247
});
248
}
249
const d = ele.innerHTML;
250
- const title = d.match(/(\d+\. .+)(?=<)/)[1];
+ const title = d.match(/(\d+.+)(?=<)/)[1];
251
const link = window.location.origin + d.match(/href="(.*?)"/)[1];
252
const language = document.querySelector("#lang-select").innerText;
253
// let code = document.querySelector(
0 commit comments