raviramanathan / cube-bookstore

Automatically exported from code.google.com/p/cube-bookstore
GNU General Public License v3.0
0 stars 0 forks source link

strip_html can produce funny results #42

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
If you do this:

  strip_html("<ul><li>one</li><li>two</li><li>three</li></ul>

You end up with "onetwothree" what is probably better would be something
like this:

"
* one
* two
* three
"

Is there any reason you can't just use plain text? If HTML was important,
an alternate solution would be to use ReST and then automatically convert
it to HTML.

Original issue reported on code.google.com by alantr...@gmail.com on 2 Feb 2010 at 9:42

GoogleCodeExporter commented 9 years ago
The code in question is under cube/books/email.py

Original comment by alantr...@gmail.com on 2 Feb 2010 at 9:44