Merge pull request #4266 from omnivore-app/fix/api-disable-old-md
Stop support for old plugin clients
This commit is contained in:
@ -647,9 +647,15 @@ export const contentConverter = (
|
||||
): contentConverterFunc | undefined => {
|
||||
switch (format) {
|
||||
case ArticleFormat.Markdown:
|
||||
return htmlToMarkdown
|
||||
return (html: string) => {
|
||||
return ''
|
||||
}
|
||||
// return htmlToMarkdown
|
||||
case ArticleFormat.HighlightedMarkdown:
|
||||
return htmlToHighlightedMarkdown
|
||||
return (html: string) => {
|
||||
return ''
|
||||
}
|
||||
// return htmlToHighlightedMarkdown
|
||||
default:
|
||||
return undefined
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user