summaryrefslogtreecommitdiff
path: root/tests/test_syntax/inline/test_emphasis.py
Commit message (Collapse)AuthorAgeFilesLines
* Improve standalone * and _ parsing.Waylan Limberg2022-11-151-3/+45
| | | | | | | | | | | The `NOT_STRONG_RE` regex matchs 1, 2, or 3 * or _ which are surrounded by white space to prevent them from being parsed as tokens. However, the surrounding white space should not be consumed by the regex, which is why lookhead and lookbehind assertions are used. As `^` cannot be matched in a lookbehind assertion, it is left outside the assertion, but as it is zero length, that should not matter. Tests added and/or updated to cover various edge cases. Fixes #1300.
* Fix issues with complex emphasisfacelessuser2020-06-221-0/+14
| | | | | Resolves issue that can occur with complex emphasis combinations. Fixes #979
* Drop support for Python 2.7 (#865)Hugo van Kemenade2019-10-241-1/+0
| | | | | | | * Python syntax upgraded using `pyupgrade --py3-plus` * Travis no longer uses `sudo`. See https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration See #760 for Python Version Support Timeline and related dicussion.
* Refactor em strong to consolidate code and fix issue #792Isaac Muse2019-09-031-0/+31
|
* Emphasis pattern treats newlines as whitespace (#785)Waylan Limberg2019-02-071-0/+86
All whitespace characters should be treated the same by inline patterns. Previoulsy, emphasis patterns were only accounting for spaces, but not other whitepsace characters such as newlines. Fixes #783.