Commit Graph

7 Commits

Author SHA1 Message Date
Hood Chatham f784e5e3d0
Use wheels instead of sdists for pure Python packages (#2126) 2022-02-12 16:44:10 -05:00
Hood Chatham 79c6688535
Run pyodide-build update-all (#2085) 2022-01-10 11:54:11 -08:00
Frederik Braun d766cbeeaa
Update bleach to version 3.3.0 (#1338) 2021-03-16 18:00:34 +08:00
Dexter Chua 28d0dc2874
Update bleach and packaging (#1021) 2021-01-03 11:51:58 +08:00
Dexter Chua 869044ba2e
Build six using usual build system (#1010) 2021-01-02 16:59:28 +08:00
Roman Yurchak 67eab0c082
MNT update pure python packages (#745) 2020-10-17 09:07:19 +02:00
Marc Abramowitz e92ba1c901 Add bleach
for sanitizing HTML. Example:

```js
languagePluginLoader.then(() => {
  // pyodide is now ready to use...
  pyodide.loadPackage('bleach').then(() => {
    pyodide.runPython(`
import bleach

print(bleach.clean('There is good stuff <script>and bad stuff</script> in here.'))
    `);
  });
});
```

leads to the output:

```
There is good stuff &lt;script&gt;and bad stuff&lt;/script&gt; in here.
```
2019-03-15 00:44:51 -07:00