From d5f7d253617aa375e7c7d92122fa1f8bc9b463a8 Mon Sep 17 00:00:00 2001 From: ccpizz Date: Sat, 18 Nov 2023 19:12:47 +0100 Subject: [PATCH] revert dsl object links --- pyglossary/plugins/dsl/lex.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pyglossary/plugins/dsl/lex.py b/pyglossary/plugins/dsl/lex.py index 0d0bcbc4e..4329b16a0 100644 --- a/pyglossary/plugins/dsl/lex.py +++ b/pyglossary/plugins/dsl/lex.py @@ -289,11 +289,13 @@ def lexS(tr: TransformerType) -> tuple[LexType, ErrorType]: _, ext = splitext(fname) ext = ext.lstrip(".") - if ext in ("wav", "mp3", "ogg"): + if ext in ("wav", "mp3"): if tr.audio: tr.output += ( - f' 🔈' + rf'" + "" + "" ) elif ext in ("jpg", "jpeg", "gif", "tif", "tiff", "png", "bmp"): tr.output += rf'{fname}'