autoType sequences no longer require double backslashes

This commit is contained in:
Jeff Parsons 2017-06-21 10:48:31 -07:00 committed by Jeff Parsons
commit 921fe75d7d
26 changed files with 176019 additions and 75 deletions

View file

@ -455,12 +455,7 @@ MarkOut.prototype.convertMD = function(sIndent)
if (sName == 'automount') sName = 'autoMount'; // for backward compatibility
if (sName == 'autotype') {
sName = 'autoType';
/*
* 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, "\");
*/
sValue = sValue.replace(/\\/g, "\"); // automatically "double" any backslashes
}
if (!id && sName == 'id') {
id = sValue;