Open opoudjis opened 3 years ago
This is partly done in https://github.com/metanorma/reverse_adoc/issues/70. The edge case of escaping __...__
, **...**
as \__...__
, \**...**
within in a word could still be done, but it's much lower priority. And since metanorma/reverse_adoc#70 was implemented by @w00lf, I'm transferring this to him too. ;-)
As found in https://github.com/metanorma/stepmod-utils/issues/37 , escape_keychars() in lib/reverseadoc/converters/base.rb is naive, and instead of escaping `
, it should escape
..` within a word; ditto other escape characters.