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

Make #+pandoc-emphasis-pre work as expected (#8059) #8360

Merged
merged 4 commits into from Oct 10, 2022
Merged

Commits on Oct 8, 2022

  1. Separate pre/post emphasis tests and refine

    Since #+pandoc-emphasis-pre and #+pandoc-emphasis-post have somewhat
    different implementations, it is wise to test them
    separately (e.g. issue jgm#8059 affects only the pre char setting).
    
    The addition of tests for an alphanumeric pre/post char demonstrates
    the aforementioned issue.
    adql committed Oct 8, 2022
    Copy the full SHA
    8aa365e View commit details
    Browse the repository at this point in the history
  2. Make #+pandoc-emphasis-pre work as expected (jgm#8059)

    So far, orgStateLastPreCharPos wasn't updated appropriately after each
    parsing to native Str (by the parser str). In addition to solving
    this, the guard notAfterString in emphasisStart is removed to allow
    emphasis after Str at the first place.
    adql committed Oct 8, 2022
    Copy the full SHA
    e243d50 View commit details
    Browse the repository at this point in the history
  3. Narrow down test case to default pre/post chars

    With the introduction of the settings for allowed pre/post chars
    around emphasized text (and the resolve to jgm#8059), such markup-chars
    may appear in the middle of the word according to the user's choice.
    adql committed Oct 8, 2022
    Copy the full SHA
    adb36d3 View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2022

  1. Copy the full SHA
    2455620 View commit details
    Browse the repository at this point in the history