markdown filter bugfix