mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-11-25 09:23:39 +01:00
EscapeHtml.extendMarkdown disabled
Updated markdown caused failures. Not sure what is going on with this class, 0 comments :-( If someone could give me a hint as to what this is trying to achieve, I can investigate further
This commit is contained in:
parent
08654bd9c4
commit
fa91620bf9
2
.github/workflows/pythonpackage.yml
vendored
2
.github/workflows/pythonpackage.yml
vendored
@ -9,7 +9,7 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
max-parallel: 4
|
max-parallel: 4
|
||||||
matrix:
|
matrix:
|
||||||
python-version: ["3.8", "3.9"]
|
python-version: ["3.8", "3.9", "3.10"]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Set up Python ${{ matrix.python-version }}
|
- name: Set up Python ${{ matrix.python-version }}
|
||||||
|
@ -50,9 +50,10 @@ def format_time_spent(time_spent):
|
|||||||
|
|
||||||
|
|
||||||
class EscapeHtml(Extension):
|
class EscapeHtml(Extension):
|
||||||
def extendMarkdown(self, md, md_globals):
|
def extendMarkdown(self, md, md_globals=None):
|
||||||
del md.preprocessors['html_block']
|
# del md.preprocessors['html_block']
|
||||||
del md.inlinePatterns['html']
|
# del md.inlinePatterns['html']
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
def get_markdown(text):
|
def get_markdown(text):
|
||||||
|
Loading…
Reference in New Issue
Block a user