esl/edown — pull request #17 by beadsland (2012-05-06 19:07:21+00:00)
Title: Strip excess spaces at end of text lines

Spaces are added to the ends of lines somewhere along the line in edoc/xmerl processing.

However, trailing spaces may already be present on some lines. In these cases, markdown will see a line terminated with a double space and render as an (unintended) hard return.

Added function to reduce multi-space terminations to a single space, resolving issue.