Skip to content
This repository has been archived by the owner on Jul 1, 2023. It is now read-only.

Support disabling specific extensions, and support CR and CRLF line ending

Compare
Choose a tag to compare
@fredemmott fredemmott released this 12 Jun 22:13

Disabling named extensions

The various context objects now have disableNamedExtension($foo) methods; for example, disableNamedExtension('TagFilter') can be used to allow unsafe tags such as <iframe> which are explicitly filtered in GitHub Flavored Markdown.

CR and CRLF newlines

FBMarkdown now supports files using Unix (including MacOS 10), Windows, and legacy MacOS newlines.

Thanks to @Kilenaitor for reporting both of these issues.