mirror of
				https://github.com/mermaid-js/mermaid.git
				synced 2025-11-04 12:54:08 +01:00 
			
		
		
		
	#1200 Unify regex for finding <br> tags throughout mermaid
This commit is contained in:
		@@ -121,6 +121,18 @@ describe('State diagram', () => {
 | 
			
		||||
      {}
 | 
			
		||||
    );
 | 
			
		||||
  });
 | 
			
		||||
  it('should handle multiline notes with different line breaks', () => {
 | 
			
		||||
    imgSnapshotTest(
 | 
			
		||||
      `
 | 
			
		||||
      stateDiagram
 | 
			
		||||
      State1
 | 
			
		||||
      note right of State1
 | 
			
		||||
      Line1<br>Line2<br/>Line3<br />Line4<br	/>Line5
 | 
			
		||||
      end note
 | 
			
		||||
      `,
 | 
			
		||||
      {}
 | 
			
		||||
    );
 | 
			
		||||
  });
 | 
			
		||||
 | 
			
		||||
  it('should render a states with descriptions including multi-line descriptions', () => {
 | 
			
		||||
    imgSnapshotTest(
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user