diff --git a/cypress/platform/yari2.html b/cypress/platform/yari2.html index bd5ddffc2..53eefe5ba 100644 --- a/cypress/platform/yari2.html +++ b/cypress/platform/yari2.html @@ -41,7 +41,7 @@ CAR:::someclass PERSON:::anotherclass,someclass - + classDef someclass fill:#f96 classDef anotherclass color:blue @@ -90,7 +90,7 @@ erDiagram CAR ||--o{ NAMED-DRIVER : allows CAR { - test test PK "comment" + text text PK "comment" string make string model string[] parts @@ -108,7 +108,7 @@ string carRegistrationNumber PK, FK string driverLicence PK, FK } - MANUFACTURER only one to zero or more CAR : makes + MANUFACTURER only one to zero or more CAR : makes
@@ -129,7 +129,7 @@ string email } p ||--o| a : has - +
diff --git a/packages/mermaid/src/utils.ts b/packages/mermaid/src/utils.ts index 5a5c57039..6ed935cf6 100644 --- a/packages/mermaid/src/utils.ts +++ b/packages/mermaid/src/utils.ts @@ -645,7 +645,7 @@ const breakString: ( * This calculates the text's height, taking into account the wrap breaks and both the statically * configured height, width, and the length of the text (in pixels). * - * If the wrapped text text has greater height, we extend the height, so it's value won't overflow. + * If the wrapped text has greater height, we extend the height, so it's value won't overflow. * * @param text - The text to measure * @param config - The config for fontSize, fontFamily, and fontWeight all impacting the