Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,4 @@ Hugo David-Boyet <hugo.david.boyet@gmail.com>
Benjamin Kampmann <ben.kampmann@googlemail.com>
Merlin Dienst <merlin.dienst@gmail.com>
Mfon Eti-mfon <mfonetimfon@gmail.com>
Spencer Stecko <spencerstecko@gmail.com>
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,10 @@ Both templates ship already configured to work out of the box.

## Change Log

### 8.1.0

* Upgrade Markdown from 2.6.11 to 3.1.1

### 8.0.1

* Change `from django.utils.functional import curry` to `from functools import partial as curry`
Expand Down
4 changes: 2 additions & 2 deletions pinax/blog/parsers/markdown_parser.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
from markdown import Markdown
from markdown.inlinepatterns import IMAGE_LINK_RE, ImagePattern
from markdown.inlinepatterns import IMAGE_LINK_RE, ImageInlineProcessor
from pinax.images.models import Image


class ImageLookupImagePattern(ImagePattern):
class ImageLookupImagePattern(ImageInlineProcessor):

def sanitize_url(self, url):
if url.startswith("http"):
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from setuptools import find_packages, setup

VERSION = "8.0.1"
VERSION = "8.1.0"
LONG_DESCRIPTION = """
.. image:: http://pinaxproject.com/pinax-design/patches/pinax-blog.svg
:target: https://pypi.python.org/pypi/pinax-blog/
Expand Down Expand Up @@ -95,7 +95,7 @@
install_requires=[
"django>=2.2",
"django-appconf>=1.0.1",
"markdown==2.6.11",
"markdown==3.1.1",
"pillow>=3.0.0",
"pinax-images>=3.0.1",
"pygments>=2.0.2",
Expand Down