Story meta incorrectly parsed when GivenStories are specified at story level

Description

When meta info is mentioned as below, with GivenStories at story level, the value of meta property gets appended with the GivenStories line.

For example for a story file as below
Meta:
@storyName ReuseBitrate
GivenStories:EndToEnd.story

Scenario: Verifying ReuseBitrate functionality
Given Step1
Then Step2

The value of @storyName appears with the next line (without quotes)
"ReuseBitrate
GivenStories:EndToEnd.story"

Assignee

Mauro Talevi

Reporter

Ajay Singh

Labels

Time tracking

7h

Components

Fix versions

Affects versions

Priority

Major
Configure