autoType sequences must continue using double-backslashes for escaped characters

This commit is contained in:
Jeff Parsons 2017-06-17 11:23:38 -07:00 committed by Jeff Parsons
commit dbc21c3d85
2 changed files with 7 additions and 2 deletions

View file

@ -455,7 +455,12 @@ MarkOut.prototype.convertMD = function(sIndent)
if (sName == 'automount') sName = 'autoMount'; // for backward compatibility
if (sName == 'autotype') {
sName = 'autoType';
sValue = sValue.replace(/\\/g, "\");
/*
* To maintain parity with Jekyll, autoType sequences must continue to use double backslashes,
* so my attempt to automatically "double" any backslashes in autoType sequences was for naught.
*
* sValue = sValue.replace(/\\/g, "\");
*/
}
if (!id && sName == 'id') {
id = sValue;