Skip to content

Commit

Permalink
Ignore code language
Browse files Browse the repository at this point in the history
  • Loading branch information
dzianisv committed Aug 10, 2024
1 parent 6ecd516 commit 1ec9a12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion poept/poept.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def process_element(element: WebElement):
if lang_element and code_element:
lang_text = lang_element.text.strip()
code_text = code_element.text.strip()
result.append(f"```{lang_text}\n{code_text}\n```")
result.append(f"```\n{code_text}\n```")
elif elementClass and elementClass.startswith('PreviewFrame_container'):
return
elif element.tag_name == 'p':
Expand Down

0 comments on commit 1ec9a12

Please sign in to comment.