jeromegn / DocumentUp

Pretty documentation generator for Github projects with proper Readme.
http://documentup.com
883 stars 90 forks source link

Plus symbols in code getting swallowed #26

Closed ramnathv closed 12 years ago

ramnathv commented 12 years ago

Here is a link to my README.md and here the version generated by documentup.

You will notice that the plus signs have been swallowed. It could be a pygments issue, but I have not experienced this problem earlier while working with latex and pygments.

jeromegn commented 12 years ago

Hmm, I don't see any + sign in your raw readme.

ramnathv commented 12 years ago

Oops. I am sorry. I am able to replicate this issue when using the on-demand API. I will post a markdown file and hot it gets rendered when I use the curl - X POST command.

jeromegn commented 12 years ago

Are you running it with the --data-urlencode option? Like in the documentation.

ramnathv commented 12 years ago

No. For some reason I get an error when I try using the --data-urlencode option. Hence, I used the version that you had put up prior to that.

jeromegn commented 12 years ago

That option is necessary. Some characters like + and & will definitely end the string too soon in the URL.