mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-19 23:39:50 +02:00
Fix for issue number #108 - v in text
This commit is contained in:
@@ -569,12 +569,12 @@ describe('when parsing ',function(){
|
||||
|
||||
});
|
||||
it('should handle keywords',function(){
|
||||
var res = flow.parser.parse('graph TD;A-- text including graph space --xB;');
|
||||
var res = flow.parser.parse('graph TD;A-- text including graph space and v --xB;');
|
||||
|
||||
var vert = flow.parser.yy.getVertices();
|
||||
var edges = flow.parser.yy.getEdges();
|
||||
|
||||
expect(edges[0].text).toBe('text including graph space');
|
||||
expect(edges[0].text).toBe('text including graph space and v');
|
||||
|
||||
});
|
||||
xit('should handle text on open links',function(){
|
||||
|
Reference in New Issue
Block a user