Bbcode

Latest version: v1.1.0

Safety actively analyzes 621706 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

1.1.0

* Now using a `CaseInsensitiveDict` to store tag options, so they retain the source case, but can be accessed case-insensitively.
* Dropped support for Python 2.6, tested against Python 3.8.
* Improved code coverage, formatted with black, and cleaned up Flake8 warnings.

---

1.0.33

* Added a `max_tag_depth` argument to the `Parser` class, defaulting to Python's recursion limit (Thanks, Lanny).

1.0.32

* List items `[*]` only render inside of `[list]` tags, to avoid producing invalid HTML.
* Switched to use `from __future__ import unicode_literals` so things like `url_template` can handle unicode replacements.
* Test on Python 3.7.

1.0.28

* Added a `default_context` argument to the `Parser` class.
* Added a `url_template` argument to the `Parser` class, allowing customization of the default linker (see 19 and 28).

1.0.27

* Set built-in `code` tag to `replace_cosmetic=False`.

1.0.26

* Allow overriding parser's `replace_html`, `replace_links`, and `replace_cosmetic` on `format` calls.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.