Handle CommitTeaser with double colon commit messages
Includes:
- Add a new plain marked instance
- Add a new e2e test case for commit messages with double colons
8 files changed
+108
-33
3d13bc03
→
29d34096
modified src/components/Markdown.svelte
@@ -9,8 +9,7 @@
|
|
|
|
|
|
| - | |
| - | |
| + | |
|
|
|
|
|
@@ -93,7 +92,7 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified src/lib/markdown.ts
@@ -1,4 +1,4 @@
| - | |
| + | |
|
|
|
|
|
@@ -75,9 +75,7 @@ const footnoteMarkedExtension = {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
@@ -159,17 +157,21 @@ export class Renderer extends BaseRenderer {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
modified tests/e2e/project.spec.ts
@@ -1,8 +1,12 @@
|
|
| + | |
| + | |
|
|
| + | |
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -30,11 +34,15 @@ test("navigate to project", async ({ page }) => {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -54,7 +62,9 @@ test("navigate to project", async ({ page }) => {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -290,11 +300,15 @@ test("peer and branch switching", async ({ page }) => {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -347,7 +361,11 @@ test("peer and branch switching", async ({ page }) => {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -369,7 +387,7 @@ test("peer and branch switching", async ({ page }) => {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified tests/e2e/project/commit.spec.ts
@@ -1,6 +1,7 @@
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -14,7 +15,9 @@ test("navigation from commit list", async ({ page }) => {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified tests/e2e/project/commits.spec.ts
@@ -1,5 +1,8 @@
|
|
| + | |
| + | |
|
|
| + | |
|
|
|
|
|
@@ -11,7 +14,9 @@ import sinon from "sinon";
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -25,10 +30,12 @@ test("peer and branch switching", async ({ page }) => {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -44,7 +51,7 @@ test("peer and branch switching", async ({ page }) => {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -85,14 +92,47 @@ test("peer and branch switching", async ({ page }) => {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -111,7 +151,9 @@ test("relative timestamps", async ({ page }) => {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified tests/e2e/router.ts
@@ -1,4 +1,5 @@
|
|
| + | |
|
|
|
|
|
@@ -63,7 +64,10 @@ test.describe("project page navigation", () => {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -86,7 +90,9 @@ test.describe("project page navigation", () => {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified tests/fixtures/repos/source-browsing.tar.bz2
modified tests/support/fixtures.ts
@@ -599,12 +599,17 @@ export async function createMarkdownFixture(peer: RadiclePeer) {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
| + | |
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|