Gherkin code highlighting should not be case sensitive
Holger,
Our developers are using the JIRA Syntax Highlighter plugin which used to high light their Gherkin code but after the latest update to 2.1.1 the syntax is no longer highlighted.
We have reinstalled and made sure all configurations are set correctly but doesn't seem to highlight the code.
Please help.
Regards,
Adolfo
Comments (9)
-
repo owner -
repo owner - changed title to Gherkin code highlighting no longer working
-
reporter Holder,
Did you get the example code and screenshot I sent you?
-Adolfo
-
repo owner Sorry, no. Can you please attach it to the issue?
-
reporter Absolutely, thank you for looking into this.
Here’s a sample code block: {code:gherkin} GIVEN a user is viewing an ILP WHEN section views are available THEN render the ILP with a primary reserve AND render resale offeres AND display placeholder images for all section views AND display the primary serve section view image in an 'expanded state' AND the resale section view images in a 'collapsed state'
Hopefully that helps.
-
reporter - attached Gherkin.jpg
Here is the view from JIRA.
They were expecting highlighted code and numbers within the syntax.
-
repo owner - changed title to Gherkin code highlighting should not be case sensitive
I think I understand the problem. Looks like highlighting is now case sensitive compared to previous versions. Can you confirm? Could you check by changing e.g. GIVEN to Given?
This should be fixed. Need to check the regex to be non case sensitive.
-
repo owner - changed milestone to 2.1.2
-
repo owner - changed status to resolved
Fixed and released as version 2.1.2
Kind regards, Holger
- Log in to comment
Can you please add an example incl. surrounding {code} tag and attach also a screenshot, so that I can reproduce the problem?
Cheers, Holger