Skip to content

Plugin id 'MD012' had a critical failure during the 'next_token' action. #1326

@ddorian

Description

@ddorian

Prerequisites

  • Are you running the latest version of this application?
  • Have you checked the Frequently Asked Questions document?
  • Have you simplified the bug report to the essential details?
  • Do you have a distinct command line to report?
  • Can you clearly state the configuration for this bug report?
  • Do you have a minimal document that highlights this bug?
  • Are any required files (configuration or Markdown document) attached to the issue?
  • Did you perform a cursory search of other issues to look for related issues?

Bug Report

Please replace any of [these areas] in the paragraphs below with the requested information.

Bug Type

  • Assertion Failure
  • Documentation
  • Scan/Rule not working as expected
  • Fix/Rule not working as expected
  • Other
    [Other reason]

Description

Just try to fix the attached file with the command that I've written above.

Specifics

Ubuntu What operating system and version are you running into this behavior on?

[Ubuntu 22.04]

What version are you seeing this behavior in? (Run pip list or pipenv run pip list and look for the entry beside pymarkdownlnt.)

[I'm using the latest git master (tried with 0.9.27 & 0.9.26). ]

Are there any extra steps that need to be taken before executing the application?

[No]

What is the command line you invoke to get this behavior?

[

❯ pymarkdown fix docs/docs/index.md


BadPluginError encountered while scanning 'docs/docs/index.md':
Plugin id 'MD012' had a critical failure during the 'next_token' action.

]

Are you using a configuration file? Either on the command line or one of the implicit configuration files? If so, attach that file to this issue.

[No.]

What Markdown document causes this behavior to manifest? Attach that file to this issue.

[See index.md]

Actual Behavior

[See error above.]

Expected Behavior

[To remove the multiple empty lines and not error.]

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions