aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--godocs.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/godocs.py b/godocs.py
index 8cdc8f0..b58bbd4 100644
--- a/godocs.py
+++ b/godocs.py
@@ -54,8 +54,8 @@ def renderEntries(page: Page) -> Iterator[str]:
return f"<audio controls><source src=\"{FILES_URL}/{match.group(1)}\">Your browser does not support the audio element.</audio>"
with_videos = re.sub(VIDEO_REGEX, videoTag, raw)
- #re.sub(AUDIO_REGEX, audioTag, raw)
- yield markdown(with_videos, extras=["fenced-code-blocks", "strike", "tables"])
+ with_audio = re.sub(AUDIO_REGEX, audioTag, with_videos)
+ yield markdown(with_audio, extras=["fenced-code-blocks", "strike", "tables"])
def renderPageCallback(template_file: Path, stylesheet_url: str) -> Callable[[Page, str], None]:
""" Callback to process the provided page metadata and output the final page to the filesystem """