Skip to content

Commit

Permalink
fix bug: url not unquoted for bulma
Browse files Browse the repository at this point in the history
  • Loading branch information
lixxu committed Apr 12, 2024
1 parent 420c535 commit c83512d
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 7 deletions.
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@
# built documents.
#
# The short X.Y version.
version = "2024.3.28"
version = "2024.4.12"
# The full version, including alpha/beta/rc tags.
release = "2024.3.28"
release = "2024.4.12"

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
9 changes: 8 additions & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@ flask-paginate |release| documentation

Overview
---------
Latest version: **2024.03.28**
Latest version: **2024.04.12**

**flask-paginate** is a simple paginate extension for
`flask`_ which is reference to `will_paginate`_,
and supports several css frameworks.

**2024.04.12 update**: fix bug url not unquoted for bulma

**2024.03.28 update**: **include_first_page_number** parameter was added, and some parameters got from config

**2023.10.24 update**: **rel** parameters was added
Expand Down Expand Up @@ -278,6 +280,11 @@ Contributors

Changelog
---------
Version 2024.04.12
-------------

- fix a bug url not unquoted for bulma `issue 112 <https://github.com/lixxu/flask-paginate/issues/112>`

Version 2024.03.28
-------------

Expand Down
8 changes: 4 additions & 4 deletions flask_paginate/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
from flask import current_app, request, url_for
from markupsafe import Markup

__version__ = "2024.03.28"
__version__ = "2024.04.12"

PY2 = sys.version_info[0] == 2

Expand All @@ -33,7 +33,7 @@
_bs5 = '<li class="page-item">\
<a class="page-link" href="{0}" aria-label="Previous"{2}>\
<span aria-hidden="true">{1}</span></a></li>'
_bulma = '<a class="pagination-previous" href={0} aria-label="Previous"{2}>{1}</a>'
_bulma = '<a class="pagination-previous" href="{0}" aria-label="Previous"{2}>{1}</a>'
_materialize = '<li class="waves-effect"><a href="{0}"{1}>\
<i class="material-icons">chevron_left</i></a></li>'

Expand Down Expand Up @@ -61,7 +61,7 @@
_bs5 = '<li class="page-item">\
<a class="page-link" href="{0}" aria-label="Next"{2}>\
<span aria-hidden="true">{1}</span></a></li>'
_bulma = '<a class="pagination-next" href={0} aria-label="Next"{2}>{1}</a>'
_bulma = '<a class="pagination-next" href="{0}" aria-label="Next"{2}>{1}</a>'
_materialize = '<li class="waves-effect"><a href="{0}"{1}>\
<i class="material-icons">chevron_right</i></a></li>'
NEXT_PAGES = dict(
Expand Down Expand Up @@ -106,7 +106,7 @@
SEMANTIC_LINK = '<a class="item" href="{0}">{1}</a>'
BS4_LINK = '<li class="page-item"><a class="page-link" href="{0}">{1}</a></li>'
BS5_LINK = '<li class="page-item"><a class="page-link" href="{0}">{1}</a></li>'
BULMA_LINK = '<li><a class="pagination-link" href={0}>{1}</a></li>'
BULMA_LINK = '<li><a class="pagination-link" href="{0}">{1}</a></li>'
MATERIALIZE_LINK = '<li><a class="waves-effect" href="{0}">{1}</a></li>'

# disabled link
Expand Down

0 comments on commit c83512d

Please sign in to comment.