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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/source/index.ts +3 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "web-documentation",
3
- "version": "1.0.30",
3
+ "version": "1.0.31",
4
4
  "description": "Declarative multilanguage documentation website generator",
5
5
  "keywords": [
6
6
  "documentation",
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
- else {
443
+ reInjectScripts = true
444
+ } else {
444
445
  domNode = createDomNodes(format(
445
446
  this.options.showExample.htmlWrapper, code
446
447
  ))