web-documentation 1.0.30 → 1.0.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/source/index.ts +3 -2
package/package.json
CHANGED
package/source/index.ts
CHANGED
|
@@ -438,9 +438,10 @@ export class WebDocumentation<
|
|
|
438
438
|
.createElement('style')
|
|
439
439
|
domNode.setAttribute('type', 'text/css')
|
|
440
440
|
domNode.innerText = code
|
|
441
|
-
} else if (match[2].toLowerCase() === 'hidden')
|
|
441
|
+
} else if (match[2].toLowerCase() === 'hidden') {
|
|
442
442
|
domNode = createDomNodes(code)
|
|
443
|
-
|
|
443
|
+
reInjectScripts = true
|
|
444
|
+
} else {
|
|
444
445
|
domNode = createDomNodes(format(
|
|
445
446
|
this.options.showExample.htmlWrapper, code
|
|
446
447
|
))
|