Closed golmansax closed 5 years ago
Hey, sorry this came in while I was on holiday – will take a detailed look this week, thanks for the effort!
Escaping the period was the only thing I've needed so far because it was messing up links and emails so I'd prefer to merge as is. I probably won't add other conditionals unless they come up.
Happy to adjust to resolve conflicts with #22 if you want.
This addresses https://github.com/tommoor/slate-md-serializer/issues/14 by starting to conditionally escape characters. I added tests for periods because it was affecting links. I also pulled this out into a utility so that tests would be separate from the renderer.