Skip to content

Commit

Permalink
Merge pull request #219 from barseghyanartur/dev
Browse files Browse the repository at this point in the history
Cleanup (#218)
  • Loading branch information
barseghyanartur authored Oct 22, 2024
2 parents 2548aec + 6e95db5 commit 60ab0bd
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions fake.py
Original file line number Diff line number Diff line change
Expand Up @@ -1172,7 +1172,6 @@ def __init__(self, faker: "Faker") -> None:
self.faker = faker

def _create_page(self, text: str, is_last_page: bool) -> str:
# page_content = f"<w:p><w:r><w:t>{text}</w:t></w:r></w:p>"
# Split the text into lines by \n
lines = text.split("\n")

Expand Down Expand Up @@ -1291,12 +1290,6 @@ def _create_page(self, text: str) -> str:
paragraph_xml += "</text:p>"

return paragraph_xml
# return (
# f'<text:p text:style-name="P1">{text}</text:p>'
# f'<text:p style:name="P1" style:family="paragraph" '
# f'style:parent-style-name="Standard">'
# f"<text:line-break/></text:p>"
# )

def create(
self,
Expand Down

0 comments on commit 60ab0bd

Please sign in to comment.