Fix restricted map controls and release verification
All checks were successful
Deploy MineGeo to Dokploy / deploy (push) Successful in 5m17s
All checks were successful
Deploy MineGeo to Dokploy / deploy (push) Successful in 5m17s
This commit is contained in:
@@ -134,3 +134,20 @@ test("release Markdown renders emphasis and safe links, escaping executable HTML
|
||||
assert.match(html, /href="https:\/\/minegeo.site\/docs"/);
|
||||
assert.doesNotMatch(html, /href="javascript:/);
|
||||
});
|
||||
|
||||
test("release lists directly after a paragraph and wrapped bullet text remain lists", () => {
|
||||
const html = renderToStaticMarkup(
|
||||
createElement(ReleaseNotes, {
|
||||
body: "This release improves:\n- **Controls:** Keyboard access\n and fixed map gestures.\n- Changelog lists.\nMore updates soon.",
|
||||
}),
|
||||
);
|
||||
assert.match(html, /<p>This release improves:<\/p><ul>/);
|
||||
assert.match(
|
||||
html,
|
||||
/<li><strong>Controls:<\/strong> Keyboard access and fixed map gestures\.<\/li>/,
|
||||
);
|
||||
assert.match(
|
||||
html,
|
||||
/<li>Changelog lists\.<\/li><\/ul><p>More updates soon\.<\/p>/,
|
||||
);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user