Check-in [82e9e14f3b]
Overview
Comment: | Manually replace `nbsp;` in entity_decode |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
82e9e14f3b39f59d6614e176b2ef1ea6 |
User & Date: | mario on 2015-04-30 20:31:41 |
Other Links: | manifest | tags |
Context
2015-04-30
| ||
20:32 | Basic channel plugin for delicast.com check-in: c1b74b649f user: mario tags: trunk | |
20:31 | Manually replace `nbsp;` in entity_decode check-in: 82e9e14f3b user: mario tags: trunk | |
20:31 | Make SSL verify= configurable. check-in: f2bac0d310 user: mario tags: trunk | |
Changes
Modified channels/__init__.py from [3d68982aa3] to [0fa6fed575].
︙ | ︙ | |||
573 574 575 576 577 578 579 | if s.find("/") < 1: s = "audio/" + s # return s # remove SGML/XML entities def entity_decode(self, s): | | | 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 | if s.find("/") < 1: s = "audio/" + s # return s # remove SGML/XML entities def entity_decode(self, s): return xml.sax.saxutils.unescape(s).replace(" ", " ") # convert special characters to &xx; escapes def xmlentities(self, s): return xml.sax.saxutils.escape(s) # Extracts integer from string def to_int(self, s): |
︙ | ︙ |