Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
P
planet
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
4
Issues
4
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Security & Compliance
Security & Compliance
Dependency List
Packages
Packages
List
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
F-Droid
planet
Commits
be5c093b
Commit
be5c093b
authored
Jan 13, 2007
by
Sam Ruby
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix regression on handling non-bozo xhtml content and summaries
parent
f2ac9246
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
planet/reconstitute.py
planet/reconstitute.py
+1
-0
No files found.
planet/reconstitute.py
View file @
be5c093b
...
...
@@ -148,6 +148,7 @@ def content(xentry, name, detail, bozo):
if
detail
.
type
.
find
(
'xhtml'
)
>=
0
and
not
bozo
:
data
=
minidom
.
parseString
(
xdiv
%
detail
.
value
)
.
documentElement
xcontent
.
setAttribute
(
'type'
,
'xhtml'
)
else
:
parser
=
liberalxmlparser
.
XHTMLParser
(
tree
=
treebuilders
.
dom
.
TreeBuilder
)
html
=
parser
.
parse
(
xdiv
%
detail
.
value
,
encoding
=
"utf-8"
)
...
...
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