Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-pymdown-extensions for
openSUSE:Factory checked in at 2026-10-21 21:00:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pymdown-extensions (Old)
and /work/SRC/openSUSE:Factory/.python-pymdown-extensions.new.2252680
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pymdown-extensions"
Wed Oct 21 21:00:14 2026 rev:30 rq:1386745 version:12.3
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-pymdown-extensions/python-pymdown-extensions.changes
2026-10-12 22:07:19.796588006 +0200
+++
/work/SRC/openSUSE:Factory/.python-pymdown-extensions.new.2252680/python-pymdown-extensions.changes
2026-10-21 21:01:59.557332290 +0200
@@ -1,0 +2,7 @@
+Tue Oct 20 17:59:26 UTC 2026 - Benoît Monin <[email protected]>
+
+- update to version 12.3:
+ * NEW: BetterEm: Expose a way to disable CommonMark punctuation
+ rules in BetterEm if desired via a new punctuation option.
+
+-------------------------------------------------------------------
Old:
----
pymdown-extensions-12.2.tar.gz
New:
----
pymdown-extensions-12.3.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pymdown-extensions.spec ++++++
--- /var/tmp/diff_new_pack.Q6Iq14/_old 2026-10-21 21:02:00.596375975 +0200
+++ /var/tmp/diff_new_pack.Q6Iq14/_new 2026-10-21 21:02:00.598376059 +0200
@@ -20,7 +20,7 @@
%define skip_python36 1
%{?sle15_python_module_pythons}
Name: python-pymdown-extensions
-Version: 12.2
+Version: 12.3
Release: 0
Summary: Extension pack for Python Markdown
License: MIT
++++++ pymdown-extensions-12.2.tar.gz -> pymdown-extensions-12.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/pymdown-extensions-12.2/docs/src/markdown/about/changelog.md
new/pymdown-extensions-12.3/docs/src/markdown/about/changelog.md
--- old/pymdown-extensions-12.2/docs/src/markdown/about/changelog.md
2026-10-10 14:49:16.000000000 +0200
+++ new/pymdown-extensions-12.3/docs/src/markdown/about/changelog.md
2026-10-15 00:36:16.000000000 +0200
@@ -3,6 +3,11 @@
---
# Changelog
+## 12.3
+
+- **NEW**: BetterEm: Expose a way to disable CommonMark punctuation rules in
BetterEm if desired via a new
+ `punctuation` option.
+
## 12.2
- **NEW**: Add official support for Python 3.15.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/pymdown-extensions-12.2/docs/src/markdown/extensions/betterem.md
new/pymdown-extensions-12.3/docs/src/markdown/extensions/betterem.md
--- old/pymdown-extensions-12.2/docs/src/markdown/extensions/betterem.md
2026-10-10 14:49:16.000000000 +0200
+++ new/pymdown-extensions-12.3/docs/src/markdown/extensions/betterem.md
2026-10-15 00:36:16.000000000 +0200
@@ -82,8 +82,14 @@
**I'm bold. *I'm bold and italic.* I'm also just bold.**
///
+> [!new] 12.3 CommonMark Punctuation Control
+> 12.0 introduced a rewrite of emphasis handling which brought emphasis
handling into alignment with CommonMark rules.
+> Because there may be some languages or some users that may prefer the
previous punctuation rules, the ability to
+> disable CommonMark punctuation rules has been exposed via the
[`punctuation`](#options) option.
+
## Options
-Option | Type | Default | Description
--------------- | ------ | ------------------- | -----------
+Option | Type | Default | Description
+-------------- | ------ | -------------------- | -----------
`smart_enable` | string | `#!py3 'underscore'` | A string that specifies
whether smart should be enabled for `all`, `asterisk`, `underscore`, or `none`.
+`punctuation` | bool | `#!py3 True` | Enable/Disable CommonMark
punctuation rules. Enabled by default.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/pymdown-extensions-12.2/docs/src/markdown/extensions/emoji.md
new/pymdown-extensions-12.3/docs/src/markdown/extensions/emoji.md
--- old/pymdown-extensions-12.2/docs/src/markdown/extensions/emoji.md
2026-10-10 14:49:16.000000000 +0200
+++ new/pymdown-extensions-12.3/docs/src/markdown/extensions/emoji.md
2026-10-15 00:36:16.000000000 +0200
@@ -58,7 +58,7 @@
///
/// tab | Gemoji
-[Gemoji][gemoji] (<img align="absmiddle" alt=":smile:" class="gemoji"
src="https://github.githubassets.com/images/icons/emoji/unicode/1f604.png"
title=":smile:"/> <img align="absmiddle" alt=":heart:"
class="gemoji"src="https://github.githubassets.com/images/icons/emoji/unicode/2764.png"
title=":heart:"/> <img align="absmiddle" alt=":+1:" class="gemoji"
src="https://github.githubassets.com/images/icons/emoji/unicode/1f44d.png"
title=":+1:" />):
+[Gemoji][gemoji] (<img align="absmiddle" alt=":smile:" class="gemoji"
src="https://github.githubassets.com/images/icons/emoji/unicode/1f604.png"
title=":smile:"/> <img align="absmiddle" alt=":heart:" class="gemoji"
src="https://github.githubassets.com/images/icons/emoji/unicode/2764.png"
title=":heart:"/> <img align="absmiddle" alt=":+1:" class="gemoji"
src="https://github.githubassets.com/images/icons/emoji/unicode/1f44d.png"
title=":+1:" />):
Gemoji is GitHub's open source emoji solution. It contains a lot of common
emoji and a couple special, non Unicode
emoji (like Gemoji's `:octocat:` <img align="absmiddle" alt=":octocat:"
class="gemoji"
src="https://github.githubassets.com/images/icons/emoji/octocat.png"
title=":octocat:" />).
If you are a GitHub user, you are probably familiar with some of the short
names associated with it. Their
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pymdown-extensions-12.2/pymdownx/__meta__.py
new/pymdown-extensions-12.3/pymdownx/__meta__.py
--- old/pymdown-extensions-12.2/pymdownx/__meta__.py 2026-10-10
14:49:16.000000000 +0200
+++ new/pymdown-extensions-12.3/pymdownx/__meta__.py 2026-10-15
00:36:16.000000000 +0200
@@ -193,5 +193,5 @@
return Version(major, minor, micro, release, pre, post, dev)
-__version_info__ = Version(12, 2, 0, "final")
+__version_info__ = Version(12, 3, 0, "final")
__version__ = __version_info__._get_canonical()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pymdown-extensions-12.2/pymdownx/betterem.py
new/pymdown-extensions-12.3/pymdownx/betterem.py
--- old/pymdown-extensions-12.2/pymdownx/betterem.py 2026-10-10
14:49:16.000000000 +0200
+++ new/pymdown-extensions-12.3/pymdownx/betterem.py 2026-10-15
00:36:16.000000000 +0200
@@ -33,7 +33,8 @@
"""Initialize."""
self.config = {
- 'smart_enable': ["underscore", "Treat connected words
intelligently - Default: underscore"]
+ 'smart_enable': ["underscore", "Treat connected words
intelligently - Default: underscore"],
+ 'punctuation': [True, "Force CommonMark punctuation rules when
superscript is enabled - Default: True"]
}
super().__init__(*args, **kwargs)
@@ -58,6 +59,7 @@
enable_all = enabled == "all"
enable_under = enabled == "underscore" or enable_all
enable_star = enabled == "asterisk" or enable_all
+ punct = bool(config['punctuation'])
# If we don't have to move an existing extension, use the same
priority,
# but if we do have to, move it closely to the relative needed
position.
@@ -70,8 +72,8 @@
md.inlinePatterns.deregister('strong2', False)
md.inlinePatterns.deregister('emphasis2', False)
- delim_star = Delimiter('*', 'strong,em', smart=enable_star)
- delim_under = Delimiter('_', 'strong,em', smart=enable_under)
+ delim_star = Delimiter('*', 'strong,em', smart=enable_star,
punct=punct)
+ delim_under = Delimiter('_', 'strong,em', smart=enable_under,
punct=punct)
if (
'delimiter' not in md.inlinePatterns or
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/pymdown-extensions-12.2/tests/test_extensions/test_betterem.py
new/pymdown-extensions-12.3/tests/test_extensions/test_betterem.py
--- old/pymdown-extensions-12.2/tests/test_extensions/test_betterem.py
2026-10-10 14:49:16.000000000 +0200
+++ new/pymdown-extensions-12.3/tests/test_extensions/test_betterem.py
2026-10-15 00:36:16.000000000 +0200
@@ -1187,6 +1187,27 @@
)
+class TestNoPunctuationRules(util.MdCase):
+ """Test no punctuation rules."""
+
+ extension = [
+ 'pymdownx.betterem'
+ ]
+ extension_configs = {
+ 'pymdownx.betterem': {
+ 'punctuation': False
+ }
+ }
+
+ def test_no_punct(self):
+ """Test no punctuation rules."""
+
+ self.check_markdown(
+ '**단어(설명)**입니다.',
+ '<p><strong>단어(설명)</strong>입니다.</p>'
+ )
+
+
class TestBetterCached(util.MdCase):
"""Tests BetterEm with cached cases."""