autoType sequences must continue using double-backslashes for escaped characters
This commit is contained in:
parent
260fc3ec6d
commit
87a77c0481
2 changed files with 7 additions and 2 deletions
|
|
@ -11,7 +11,7 @@ machines:
|
|||
path: /disks/pcx86/dos/ibm/1.10/PCDOS110.json
|
||||
B:
|
||||
path: /apps/pcx86/1982/ratbas/RATBAS213.json
|
||||
autoType: \r\rb:\rrt\r\xff\xf0test;\r
|
||||
autoType: \\r\\rb:\\rrt\\r\\xff\\xf0test;\\r
|
||||
---
|
||||
|
||||
RatBas (1982)
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue