Skip to content

Comments with strings containing "//" cause errors to be incorectly located in the output #992

@aireilly

Description

@aireilly

Check for existing issues

  • Completed

Environment

$ cat /etc/os-release
OS="Fedora Linux"
VERSION="41 (Workstation Edition)"

$ vale -v
vale version 3.11.1

Describe the bug / provide steps to reproduce it

Comments with strings containing "//" cause errors to be incorrectly located in the output.

Image

To replicate the error:

git clone -b vale-test-7 https://github.com/aireilly/vale-test && vale vale-test/modules/vale-test.adoc

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions