Open StevenJoynt opened 3 years ago
Investigate using an existing library to convert html to markdown. It doesn't need to be fast - we're using it in a background job.
Investigate
@StevenJoynt why not create a convertor similar to the following? Wouldn't this be a better solution than relying on a third-party extension and much easier to maintain?
https://github.com/humhub/humhub/blob/master/protected/humhub/modules/content/widgets/richtext/converter/RichTextToHtmlConverter.php https://github.com/humhub/humhub/blob/master/protected/humhub/modules/content/widgets/richtext/converter/RichTextToMarkdownConverter.php
add support for HTML tags: