mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-12-25 08:09:12 +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:
|
||||
max-parallel: 4
|
||||
matrix:
|
||||
python-version: ["3.8", "3.9"]
|
||||
python-version: ["3.8", "3.9", "3.10"]
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Set up Python ${{ matrix.python-version }}
|
||||
|
@ -50,9 +50,10 @@ def format_time_spent(time_spent):
|
||||
|
||||
|
||||
class EscapeHtml(Extension):
|
||||
def extendMarkdown(self, md, md_globals):
|
||||
del md.preprocessors['html_block']
|
||||
del md.inlinePatterns['html']
|
||||
def extendMarkdown(self, md, md_globals=None):
|
||||
# del md.preprocessors['html_block']
|
||||
# del md.inlinePatterns['html']
|
||||
pass
|
||||
|
||||
|
||||
def get_markdown(text):
|
||||
|
Loading…
Reference in New Issue
Block a user