build(aio): output {@example}
tags as <code-example>
elements (#15382)
This commit is contained in:

committed by
Igor Minar

parent
c58499786c
commit
8b4edcc7ad
@ -39,7 +39,10 @@ module.exports = function parseArgString() {
|
||||
} else {
|
||||
if (arg.substr(arg.length - 1) === '=') {
|
||||
key = arg.substr(0, arg.length - 1);
|
||||
// remove leading '-' if it exists.
|
||||
// remove leading '-' (or '--') if it exists.
|
||||
if (key.substr(0, 1) == '-') {
|
||||
key = key.substr(1);
|
||||
}
|
||||
if (key.substr(0, 1) == '-') {
|
||||
key = key.substr(1);
|
||||
}
|
||||
|
Reference in New Issue
Block a user