Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
David Hamner
wp2email
Commits
8af0813c
Commit
8af0813c
authored
May 29, 2021
by
David Hamner
Browse files
Fix for titles with :
parent
46a77ba6
Changes
1
Hide whitespace changes
Inline
Side-by-side
wp2email.py
View file @
8af0813c
...
...
@@ -78,7 +78,7 @@ for config_line in config_file.readlines():
if
config_line
.
startswith
(
"#"
):
continue
if
config_line
.
startswith
(
"title:"
):
email_title
=
config_line
.
split
(
":"
)[
-
1
]
email_title
=
":"
.
join
(
config_line
.
split
(
":"
)[
1
:])
if
config_line
.
startswith
(
"banner_site:"
)
or
config_line
.
startswith
(
"site:"
):
site_index
+=
1
div_class
=
div_classes
[
site_index
%
len
(
div_classes
)]
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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