diff --git a/CHANGES.rst b/CHANGES.rst index 9e02600..2a3b17c 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,7 @@ Changelog ========= +- Fixed typo in Bootstrap in code and CHANGES.rst. - Upgrade to Bootstrap Icons 1.11.3. @@ -67,7 +68,7 @@ Release date: 2022/11/20 - Drop Python 3.6 support, and test against Python 3.10. - Add support for strict Content Security Policy (CSP) (`#252 `__) -- Upgrade to Bootstrap 5.2.2, Popper 2.11.6, Bootswatch 5.2.2, and Boostrap Icons 1.9.1. +- Upgrade to Bootstrap 5.2.2, Popper 2.11.6, Bootswatch 5.2.2, and Bootstrap Icons 1.9.1. - Fix Flask-SQLAlchemy ``paginate`` named parameters in tests and examples. - Support to preview available Bootswatch theme in the example application. - Remove ``.DS_Store`` files from the distribution files. diff --git a/flask_bootstrap/__init__.py b/flask_bootstrap/__init__.py index 3aaec82..c711908 100644 --- a/flask_bootstrap/__init__.py +++ b/flask_bootstrap/__init__.py @@ -108,18 +108,18 @@ def load_css(self, version=None, bootstrap_sri=None, bootswatch_theme=None): base_path = 'css' else: base_path = f'css/bootswatch/{bootswatch_theme.lower()}' - boostrap_url = url_for('bootstrap.static', filename=f'{base_path}/{self.bootstrap_css_filename}') + bootstrap_url = url_for('bootstrap.static', filename=f'{base_path}/{self.bootstrap_css_filename}') else: if not bootswatch_theme: base_path = f'{CDN_BASE}/bootstrap@{version}/dist/css' else: base_path = f'{CDN_BASE}/bootswatch@{version}/dist/{bootswatch_theme.lower()}' - boostrap_url = f'{base_path}/{self.bootstrap_css_filename}' + bootstrap_url = f'{base_path}/{self.bootstrap_css_filename}' if bootstrap_sri and not bootswatch_theme: - css = f'' + css = f'' else: - css = f'' + css = f'' return Markup(css) def _get_js_script(self, version, name, sri, nonce):