Skip to content

[Bug][Markdown]: Internal double-underscores shouldn't be replaced with <strong> #78

Description

@luciansmith

Operating System

all

Compiler

Visual Studio

Compiler flags

normal?

maddy version

1.5.0 (latest)

Minimal Mardown example

__this__whole__thing__
but__not__this

the github parser:

this__whole__thing
but__not__this

What is not working? What did you try?

I just submitted a PR to fix this for single internal underscores like_this_one, but the 'strong' parser still finds internal double underscores like__this__one. They both should only replace at word boundaries. The same change for the strong parser as the emphasis parser results work for just the parser alone, but not for the global parser, for unclear-to-me reasons.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions