Add Start and Discuss buttons to lead suggestions
This commit is contained in:
Vendored
+9
@@ -300,6 +300,15 @@ function link(href, children) {
|
||||
return h("span", {}, ...children);
|
||||
}
|
||||
}
|
||||
const suggest = /^#\/suggest\/(\w+)\/([^/]+)\/(.+)$/.exec(href);
|
||||
if (suggest) {
|
||||
try {
|
||||
return todoLink(suggest[1], decodeURIComponent(suggest[2]), children, decodeURIComponent(suggest[3]));
|
||||
}
|
||||
catch {
|
||||
return h("span", {}, ...children);
|
||||
}
|
||||
}
|
||||
if (href.startsWith("#/")) {
|
||||
return h("a", { href }, ...children);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user