fix: resolve merge conflict in DefaultMarkdownGenerator affecting fit_markdown generation
This commit is contained in:
@@ -96,7 +96,6 @@ class DefaultMarkdownGenerator(MarkdownGenerationStrategy):
|
|||||||
)
|
)
|
||||||
|
|
||||||
# Generate fit markdown if content filter is provided
|
# Generate fit markdown if content filter is provided
|
||||||
<<<<<<< HEAD
|
|
||||||
fit_markdown: Optional[str] = ""
|
fit_markdown: Optional[str] = ""
|
||||||
filtered_html: Optional[str] = ""
|
filtered_html: Optional[str] = ""
|
||||||
if content_filter or self.content_filter:
|
if content_filter or self.content_filter:
|
||||||
@@ -104,8 +103,6 @@ class DefaultMarkdownGenerator(MarkdownGenerationStrategy):
|
|||||||
filtered_html = content_filter.filter_content(cleaned_html)
|
filtered_html = content_filter.filter_content(cleaned_html)
|
||||||
filtered_html = '\n'.join('<div>{}</div>'.format(s) for s in filtered_html)
|
filtered_html = '\n'.join('<div>{}</div>'.format(s) for s in filtered_html)
|
||||||
fit_markdown = h.handle(filtered_html)
|
fit_markdown = h.handle(filtered_html)
|
||||||
>>>>>>> origin/main
|
|
||||||
fit_markdown = h.handle(filtered_html)
|
|
||||||
|
|
||||||
return MarkdownGenerationResult(
|
return MarkdownGenerationResult(
|
||||||
raw_markdown=raw_markdown,
|
raw_markdown=raw_markdown,
|
||||||
|
|||||||
Reference in New Issue
Block a user