Skip to content

Multiple underscores in words #59

Closed

Description

@nichtich

The handling of multiple underscores in words is not consistent. github_flavored_markdown handles this differently than the original MarkDown syntax, so does marked. Try this:

perform_complicated_task
do_this_and_do_that_and_another_thing

This bug affects prose/prose#146 see there for how to reproduce it.

Activity

  1. chjj commented on Jan 8, 2013

    @chjj
    Member

    What should I see as the output?

    This is what I see currently:

    $ marked --gfm
    perform_complicated_task
    do_this_and_do_that_and_another_thing
    ^D
    <p>perform_complicated_task
    do_this_and_do_that_and_another_thing
    </p>
    

    Looks correct as far as I can tell. Closing for now.

  2. tkrotoff commented on Mar 26, 2013

    @tkrotoff

    It works fine for single underscore, not for double underscores __, example:
    perform__complicated__task

    $ marked --gfm
    perform__complicated__task
    ^D
    <p>perform<strong>complicated</strong>task</p>
    
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions