netresearch/rst2confluence — pull request #2 by adrian-castravete (2014-08-13 05:47:43+00:00)
Title: Fix weird splitline behaviour

Splitlines behaves strangely when a line ends with '\n'

>>> value = "something\n"
>>> value.splitlines()
['something']
>>> value.split('\n')
['something', '']

This has made the program translate this `reStructuredText` input

This is something
*new*

into this `confluence` output

This is something_new_

This fix makes it behave normally and make the `confluence` output be

This is something _new_