Misaka

Latest version: v2.1.1

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

Scan your dependencies

Page 1 of 4

2.1.1

^^^^^^^^^^^^^^^^^^

- Fixed segfault caused by missing NULL-check (`67`_).


NOTE: Misaka doesn't work in Python 2.6 anymore, because pycparser,
a dependency of CFFI, doesn't work in Python 2.6 anymore.


.. _67: https://github.com/FSX/misaka/issues/67

2.1.0

^^^^^^^^^^^^^^^^^^

- Add a new renderer class with XSS protections. By Changaco. (`60`_)
- Add Python 2.6 support. By sprin. (`48`_)
- Add Termux_ installation instructions to documentation.
- Update Hoedown source files.

.. _60: https://github.com/FSX/misaka/pull/60
.. _48: https://github.com/FSX/misaka/pull/48
.. _Termux: https://github.com/termux/termux-packages/issues/218

2.0.0

^^^^^^^^^^^^^^^^^^

- Rename ``Markdown.render`` to ``Markdown.__call__``.
- Add a bechmark testcase to chibitest.
- Simplify arguments of ``list``, ``list_item``, ``autolink`` and
``table_cell`` render callbacks.

2.0.0b1

^^^^^^^^^^^^^^^^^^^^

- Rewrite. CFFI_ and Hoedown_ instead of Cython_ and Sundown_.
- Remove pre- and postprocessor support.
- Smartypants is a normal function instead of a postprocessor.
- Documentation now uses Sphinx_.

.. _Hoedown: https://github.com/hoedown/hoedown
.. _Sundown: https://github.com/vmg/sundown
.. _CFFI: https://cffi.readthedocs.org
.. _Cython: http://cython.org/
.. _Sphinx: http://sphinx-doc.org

1.0.3

^^^^^^^^^^^^^^^^^^^^

- ``scripts/misaka``: Read stdin when no file is specified. (`22`_)
- SmartyPants is now a preprocessor. This fixes `19`_.
- Updated Sundown files; See commits from Mar 29, 2012 to Oct 19, 2012.

.. _19: https://github.com/FSX/misaka/issues/19
.. _22: https://github.com/FSX/misaka/pull/22

1.0.2

^^^^^^^^^^^^^^^^^^

- Added ``clean``, ``compile_cython`` and ``update_vendor`` commands to ``setup.py``.
See ``setup.py --help-commands`` for more information.
- Removed the ``--cython`` install option.
- Sundown is now a Git submodule.
- Exceptions that are raised in render methods are now shown on STDOUT. The
script execution will not stop. Only the render method will stop and return
nothing.
- Removed trailing forward slashes from ``MANIFEST.in``. These cause trouble on
Windows. (`12`_/`13`_)
- Input text now be a byte or unicode string. Callback method arguments are
always unicode. The returned text in a callback method can be a byte or unicode
string.
- In Python 3 render callbacks couldn't be seen, because the variable that was
used to lookup the methods was a byte string. And Python 3 doesn't see
byte string and normalstrings as equal.
- Added unit tests.
- Updated Sundown files; See commits from Feb 05, 2012 to Mar 29, 2012.
This includes fixes for Visual Studio on Windows.

.. _12: https://github.com/FSX/misaka/pull/12
.. _13: https://github.com/FSX/misaka/pull/13

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.