Skip to content

The double underscores at the beginning of the word break the html layout #583

Closed

Description

@tavriaforever

Hello!
My case: markdown + html parts

__word <div>Some html text <a href="#">Some html link</a> or block</div> __elem

output:

<p><strong>word <div>Some html text <a href="#">Some html link</a> or block</div> </strong>elem</p>

Result: Parser replaced __ to <strong> and didn't pay attention to what it has inside html pieces and it's not just one text.
Probably I would agree that this is the correct behavior of marked module, if I am not checked this case on Github, where everything is displayed correctly

Thank you for your attention 😏

Activity

  1. formulahendry commented on Apr 26, 2015

    @formulahendry

    I have a code fix here. Hope the pull request could be merged. Unfortunately, this repo has not been updated for over 3 months :(

  2. tavriaforever commented on Apr 30, 2015

    @tavriaforever
    Author

    Thank you very much! It fixed our case.

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