Skip to content

Commit

Permalink
Passage à zmarkdown 11.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Situphen committed Sep 7, 2023
1 parent 7297871 commit 69de00a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions zds/tutorialv2/publication_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

import requests
from django.core.exceptions import ObjectDoesNotExist
from django.template.defaultfilters import date
from django.template.loader import render_to_string
from django.utils import translation
from django.utils.translation import gettext_lazy as _
Expand Down Expand Up @@ -414,6 +415,7 @@ def publish(self, md_file_path, base_name, **kwargs):
images_download_dir=str(base_directory / "images"),
local_url_to_local_path=["/", replacement_image_url],
heading_shift=-1,
date=date(published_content_entity.last_publication_date, "l d F Y"),
)
if content == "" and messages:
raise FailureDuringPublication(f"Markdown was not parsed due to {messages}")
Expand Down
2 changes: 1 addition & 1 deletion zmd/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"author": "",
"license": "ISC",
"dependencies": {
"zmarkdown": "11.0.2"
"zmarkdown": "11.3.0"
},
"engines": {
"node": ">=12.0.0"
Expand Down

0 comments on commit 69de00a

Please sign in to comment.