aboutsummaryrefslogtreecommitdiffstats
path: root/nikola/plugins/compile/markdown/mdx_podcast.py
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2022-08-05 01:00:19 -0400
committerLibravatarUnit 193 <unit193@unit193.net>2022-08-05 01:00:19 -0400
commit393aa58f2c5afd51f92fd9bd4b6dfd0dc90cea41 (patch)
treea61de275324558358abc0c85f85827649a159512 /nikola/plugins/compile/markdown/mdx_podcast.py
parent942e313727d1ad886a1024c24fe4a9e8e2e0bb3e (diff)
New upstream version 8.2.3.upstream/8.2.3
Diffstat (limited to 'nikola/plugins/compile/markdown/mdx_podcast.py')
-rw-r--r--nikola/plugins/compile/markdown/mdx_podcast.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/nikola/plugins/compile/markdown/mdx_podcast.py b/nikola/plugins/compile/markdown/mdx_podcast.py
index 647ee1f..e003f40 100644
--- a/nikola/plugins/compile/markdown/mdx_podcast.py
+++ b/nikola/plugins/compile/markdown/mdx_podcast.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
#
-# Copyright © 2013-2021 Michael Rabbitt, Roberto Alsina and others.
+# Copyright © 2013-2022 Michael Rabbitt, Roberto Alsina and others.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
@@ -36,11 +36,12 @@ Basic Example:
<p><audio controls=""><source src="https://archive.org/download/Rebeldes_Stereotipos/rs20120609_1.mp3" type="audio/mpeg"></source></audio></p>
"""
+import xml.etree.ElementTree as etree
+
from nikola.plugin_categories import MarkdownExtension
try:
from markdown.extensions import Extension
from markdown.inlinepatterns import Pattern
- from markdown.util import etree
except ImportError:
# No need to catch this, if you try to use this without Markdown,
# the markdown compiler will fail first