mirror of
https://github.com/getpelican/pelican.git
synced 2026-05-28 09:36:12 +02:00
Merge 5fa3504ad0 into ddb6d89be3
This commit is contained in:
commit
d6fc7be352
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ def decode_wp_content(content, br=True):
|
|||
pre_index = 0
|
||||
|
||||
for pre_part in pre_parts:
|
||||
start = pre_part.index("<pre")
|
||||
start = pre_part.find("<pre")
|
||||
if start == -1:
|
||||
content = content + pre_part
|
||||
continue
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue