Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More conservative strong/em markdown matcher #352

Merged
merged 1 commit into from
May 6, 2024

Commits on Apr 22, 2024

  1. More conservative strong/em markdown matcher

    Both matchers are now constrained so that they will only be transformed
    if the left-hand characters are the start of the text or preceeded by
    whitespace, and the right-hand characters are the end of the text or
    followed by whitespace or a punctuation mark.
    
    This misses some cases, e.g. emphasis inside of parantheticals, but has
    better behavior with e.g. underscores in function names outside of code
    blocks.
    
    Fixes Mozilla-Ocho#317.
    mrdomino committed Apr 22, 2024
    Configuration menu
    Copy the full SHA
    7c66299 View commit details
    Browse the repository at this point in the history