mirror of
https://gitlab.com/jrmiller82/pathfinder-2-sqlite.git
synced 2026-10-12 22:29:44 -04:00
Switch from \n to /n
This commit is contained in:
1 parent
7747b11728
commit
1074fe10f1
1 file changed
+4
-11
@@ -74,11 +74,11 @@
|
||||
" continue\n",
|
||||
" elif e.previous_sibling.name == 'br':\n",
|
||||
" # If this element and the previous are br\n",
|
||||
" # and the next is not append \\n\n",
|
||||
" description = description + ' \\n\\n '\n",
|
||||
" # and the next is not append /n\n",
|
||||
" description = description + ' /n/n'\n",
|
||||
" else:\n",
|
||||
" # If there is just one br append \\n\n",
|
||||
" description = description + ' \\n '\n",
|
||||
" # If there is just one br append /n\n",
|
||||
" description = description + ' /n'\n",
|
||||
" else:\n",
|
||||
" # Append the text inside the element\n",
|
||||
" description = description + e.text.strip()\n",
|
||||
@@ -126,13 +126,6 @@
|
||||
"source": [
|
||||
"description_background.to_csv('background.csv', encoding='UTF-8', index=False)"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": []
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
|
||||
Reference in new issue
Block a user