BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xml-python-examples
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
xml-python-examples
Commits
b3d30700
Commit
b3d30700
authored
Feb 20, 2019
by
Forest Godfrey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Strip newlines
parent
fd21b06c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
posts.py
posts.py
+1
-1
No files found.
posts.py
View file @
b3d30700
...
...
@@ -12,7 +12,7 @@ def strip_commas(text):
return
re
.
sub
(
","
,
""
,
text
)
def
remove_non_ascii
(
text
):
return
''
.
join
([
i
if
ord
(
i
)
<
128
else
' '
for
i
in
text
])
return
''
.
join
([
i
if
(
ord
(
i
)
<
128
and
ord
(
i
)
>
31
)
else
' '
for
i
in
text
])
def
process_post
(
post
):
urlstring
=
""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment