Closed kuranari closed 11 months ago
markdown-hide-markup
Input # foo# or ## Steps to Reproduce
# foo#
## Steps to Reproduce
https://github.com/jrblevin/markdown-mode/assets/2577343/c7733f4a-7ff5-4952-833a-25ebe84059c0
The whitespace appears when the next character is entered.
The issue occurs due to the definition of markdown-regex-header.
markdown-regex-header
Changes were introduced to align with the implementation of Markdown.pl as per this commit: https://github.com/jrblevin/markdown-mode/commit/26e39378e0fd4445bd8409ef72a7ffbf322293bc
While the behavior of the whitespace following the opening sequence was modified with this commit: https://github.com/jrblevin/markdown-mode/commit/58ba6a31843a3dc919aece5f3a152067af3d3ff5, the behavior of the whitespace preceding the closing sequence was not altered.
Expected Behavior
markdown-hide-markup
is enabled.Actual Behavior
Steps to Reproduce
Input
# foo#
or## Steps to Reproduce
https://github.com/jrblevin/markdown-mode/assets/2577343/c7733f4a-7ff5-4952-833a-25ebe84059c0
The whitespace appears when the next character is entered.
Software Versions
Additional Details
The issue occurs due to the definition of
markdown-regex-header
.Changes were introduced to align with the implementation of Markdown.pl as per this commit: https://github.com/jrblevin/markdown-mode/commit/26e39378e0fd4445bd8409ef72a7ffbf322293bc
While the behavior of the whitespace following the opening sequence was modified with this commit: https://github.com/jrblevin/markdown-mode/commit/58ba6a31843a3dc919aece5f3a152067af3d3ff5, the behavior of the whitespace preceding the closing sequence was not altered.