Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
reformat - move paragraph direction and image size from style attribute to "classic" attribute #39
Conversation
| @@ -4,23 +4,23 @@ | |||
| "cell_type": "markdown", | |||
| "metadata": {}, | |||
| "source": [ | |||
| "<img src=\"images/logo.jpg\" style=\"display: block; margin-left: auto; margin-right: auto;\" alt=\"לוגו של מיזם לימוד הפייתון. נחש מצויר בצבעי צהוב וכחול, הנע בין האותיות של שם הקורס: לומדים פייתון. הסלוגן המופיע מעל לשם הקורס הוא מיזם חינמי ללימוד תכנות בעברית.\">" | |||
| "<img alt=\"לוגו של מיזם לימוד הפייתון. נחש מצויר בצבעי צהוב וכחול, הנע בין האותיות של שם הקורס: לומדים פייתון. הסלוגן המופיע מעל לשם הקורס הוא מיזם חינמי ללימוד תכנות בעברית.\" src=\"images/logo.jpg\" style=\"display: block; margin-left: auto; margin-right: auto;\"/>" | |||
yammesicka
Sep 14, 2020
Member
If it is OK on your side, I'd prefer not to move around attributes in places where it doesn't make a difference :)
If it is OK on your side, I'd prefer not to move around attributes in places where it doesn't make a difference :)
ophiry
Sep 14, 2020
Author
I used a html parser (BeautifulSoup) to do the reformatting - there's no direct control on all the details of the generated html
I used a html parser (BeautifulSoup) to do the reformatting - there's no direct control on all the details of the generated html
| "לפעמים נרצה לצרף דברי הסבר לקוד שכתבנו.<br>\n", | ||
| "כדי להוסיף הסברים לצד הקוד נשתמש בתו סולמית, ומייד אחריה נכתוב את ההסברים שרצינו לצרף.<br>\n", | ||
| "<p dir=\"rtl\" style=\"text-align: right; direction: rtl; float: right; clear: both;\">\n", | ||
| "לפעמים נרצה לצרף דברי הסבר לקוד שכתבנו.<br/>\n", |
yammesicka
Sep 14, 2020
Member
Let's not add closing tags to our brs, we're on HTML5 :)
Let's not add closing tags to our brs, we're on HTML5 :)
| "<li><code>\"_)(*&^%\"</code></li>\n", | ||
| "<li><code>\"_)('*&^%\"</code></li>\n", | ||
| " <li><code>\"_)(\"*&^%\"</code></li>\n", | ||
| "<li><code>\"_)(*&^%\"</code></li>\n", |
yammesicka
Sep 14, 2020
Member
Is this behavior required?
Is this behavior required?

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.

re: #37