Spaces:
Runtime error
Runtime error
Update scripts/mdconvert.py
Browse files- scripts/mdconvert.py +2 -0
scripts/mdconvert.py
CHANGED
|
@@ -102,6 +102,8 @@ class _CustomMarkdownify(markdownify.MarkdownConverter):
|
|
| 102 |
if src.startswith("data:"):
|
| 103 |
src = src.split(",")[0] + "..."
|
| 104 |
|
|
|
|
|
|
|
| 105 |
return "" % (alt, src, title_part)
|
| 106 |
|
| 107 |
def convert_soup(self, soup: Any) -> str:
|
|
|
|
| 102 |
if src.startswith("data:"):
|
| 103 |
src = src.split(",")[0] + "..."
|
| 104 |
|
| 105 |
+
# TODO add options
|
| 106 |
+
src="#"
|
| 107 |
return "" % (alt, src, title_part)
|
| 108 |
|
| 109 |
def convert_soup(self, soup: Any) -> str:
|