This commit is contained in:
TheGiddyLimit
2024-01-25 23:07:09 +00:00
parent 5ffd4acdb4
commit a4e391a3e7
94 changed files with 7263 additions and 939 deletions

View File

@@ -589,7 +589,7 @@ class TableDiceTest extends DataTesterBase {
let cleanHeader = toRenderLabel
.trim()
.replace(/^{@dice ([^}]+)}/g, (...m) => {
tmpParts.push(m[1]);
tmpParts.push(m[1].split("|")[0]);
return `__TMP_DICE__${tmpParts.length - 1}__`;
});
cleanHeader = Renderer.stripTags(cleanHeader).replace(/__TMP_DICE__(\d+)__/g, (...m) => tmpParts[Number(m[1])]);