I don't see how there would be a problem in reversing the
transformation.
- bullet point
becomes
- - bullet point
and reverses back to
- bullet point
random text
becomes
- random text
and reverses back to
random text
MAY means: arbitrary lines may get a dash-escape, others do not.
so how do you manage to recognise which leading "- " were there
before encoding and which were not, without looking at the
following text?
Now this is easy: a sequence "- -" becomes "-" and "- From" becomes
"From", anything else is left unchanged.
But if any other lines MAY be escaped, looking at the context
doesn't help any more. Dashes are used also to mark insertions
- at least in german this is common - and how can a parser find
out if the "- " in the above line is intentional? or that in the next?
- From all solutions I prefer not to allow escaping other then