aha, ok
thank you
You problem is parsing invalid HTML or an HTML with non-utf8 encoding.
web2py is not the tool for that. Use beautiful soup to parse it and
then serialize it back to valid HTML in utf8. Then you can use
TAG().flatten(...)
On Dec 16, 2:45 pm, Vasile Ermicioi wrote:
> so what to do?
> please giv
so what to do?
please give me an advice
Markmin should work well with unicode.
The TAG(...) html parser, based on HTMLParser has problems with non-
utf8 encodings and non well-formatted html.
Massmo
On Dec 13, 6:10 pm, Vasile Ermicioi wrote:
> I am trying to convert a bunch of html files to markmin, but I got strange
> results
> I th
I am trying to convert a bunch of html files to markmin, but I got strange
results
I think html to markmin doesn't work well with unicode (utf8 my case)
attached are an example
and this is my controller to do that
def mmtest():
from gluon.html import markmin_serializer
#markmin = TAG(html
+1 Markmin rocks
Thanks Massimo, MARKMIN is an excellent tool. Looking forward to this
new feature in MARKMIN.
On Dec 13, 1:30 am, Massimo Di Pierro
wrote:
> There is already an open issue about this. I approved it but did not
> have the time to implement it. The minor complication is that it would
> require chan
There is already an open issue about this. I approved it but did not
have the time to implement it. The minor complication is that it would
require changing not just markmin2html.py but also markmin2latex.
On Dec 12, 9:22 am, lyn2py wrote:
> Hi, how do I make nested lists with MARKMIN?
> For exam
8 matches
Mail list logo