~sthagen/liitos#42: 
Fix the filter argument parsing to allow no filter at all

Currently when requesting an empty filter this results in mermaid-filter (the default).

An empty string may not be the best marker to take default values ...

Status
RESOLVED FIXED
Submitter
~sthagen
Assigned to
Submitted
1 year, 5 months ago
Updated
1 year, 5 months ago
Labels
No labels applied.

~sthagen 1 year, 5 months ago*

A workaround is to eg. having python available and pip install pandocfilters and then use a "no op" filter like:

#!/usr/bin/env python
"""Pandoc no operation filter."""
from pandocfilters import toJSONFilter


def noop(key, value, format, meta): pass


if __name__ == "__main__":
  toJSONFilter(noop)

~sthagen REPORTED FIXED 1 year, 5 months ago

Fixed in 0e0567d7

Register here or Log in to comment, or comment via email.