hit9 / rux

Micro & Fast static blog generator (markdown => html).
https://pypi.python.org/pypi/rux
BSD 2-Clause "Simplified" License
59 stars 17 forks source link

ruxlibparser.parse failed? #13

Open lingsamuel opened 7 years ago

lingsamuel commented 7 years ago

My .md file:

New Journey with Rux!
http://vlove.qiniudn.com/2013-09-28-21-15_0.jpg
---
Have a nice day.

But it seems that there are some problems in this line

    rt = libparser.parse(byref(post), src)
    return (
        rt,
        string_at(post.title, post.tsz),
        string_at(post.tpic, post.tpsz),
        post.body
    )

They are all wrong result. Such as rt is -1, title and body is None.