sbarex / SourceCodeSyntaxHighlight

Quick Look extension for highlight source code files on macOS 10.15 and later.
GNU General Public License v3.0
3.01k stars 72 forks source link

Colons in strings are not parsed correctly in YAML files #241

Closed dnicolson closed 1 year ago

dnicolson commented 1 year ago

The following YAML:

AWSTemplateFormatVersion: "2010-09-09"
Metadata:
    Generator: "former2"
Description: ""
Resources:
    CloudWatchAlarm:
        Type: "AWS::CloudWatch::Alarm"
        Properties:
            AlarmName: "Alarm"

Results in:

Screenshot 2023-05-19 at 21 14 38
hylowaker commented 1 year ago

How did you resolve that? I'm also getting the same issue.

스크린샷 2023-08-03 오후 12 01 52
dnicolson commented 1 year ago

The issue was fixed in version 2.1.11.

Your issue appears to be different, rather than colons it seems that a combination of letters and version numbers causes the problem.

Screenshot 2023-08-03 at 16 59 45