mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-21 10:16:44 +00:00
fix(docs): render taxonomy closing tags
This commit is contained in:
+281
-281
File diff suppressed because it is too large
Load Diff
@@ -1121,7 +1121,7 @@ function renderTaxonomy({
|
||||
"",
|
||||
docs || "No linked docs",
|
||||
"",
|
||||
" </div>",
|
||||
"</div>",
|
||||
" </div>",
|
||||
);
|
||||
}
|
||||
|
||||
@@ -259,7 +259,7 @@ describe("maturity docs renderer CLI", () => {
|
||||
expect(scorecard).not.toContain("0 failed");
|
||||
expect(scorecard).not.toContain("0 blocked");
|
||||
expect(taxonomy).toMatch(
|
||||
/<div className="maturity-category-docs">\n\n {4}\[[^\n]+\]\([^)]+\)[^\n]*\n\n {8}<\/div>/,
|
||||
/<div className="maturity-category-docs">\n\n {4}\[[^\n]+\]\([^)]+\)[^\n]*\n\n {4}<\/div>/,
|
||||
);
|
||||
expect(taxonomy).not.toMatch(
|
||||
/<div className="maturity-category-docs">[^\n]*\[[^\n]+\]\([^)]+\)[^\n]*<\/div>/,
|
||||
|
||||
Reference in New Issue
Block a user