Skip to content

Commit 93f4b22

Browse files
Nabil Maynardmojavelinux
authored andcommitted
transfer all nodes when converting literal block to CLI prompt
1 parent 8539b6a commit 93f4b22

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

preview-src/index.adoc

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,12 @@ Don't forget this step!
276276
====
277277
If you installed the CLI and the default site generator globally, you can upgrade both of them with the same command.
278278
279-
$ npm i -g @antora/cli @antora/site-generator-default
279+
$ npm i -g @antora/cli @antora/site-generator
280+
281+
Or you can install the metapackage to upgrade both packages at once.
282+
283+
[subs=+quotes]
284+
$ npm i -g *antora*
280285
====
281286

282287
Nominavi luptatum eos, an vim hinc philosophia intellegebat.

src/js/06-copy-to-clipboard.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
pre.classList.add('highlightjs', 'highlight')
2626
;(code = document.createElement('code')).className = 'language-console hljs'
2727
code.dataset.lang = 'console'
28-
code.appendChild(pre.firstChild)
28+
while (pre.hasChildNodes()) code.appendChild(pre.firstChild)
2929
pre.appendChild(code)
3030
} else {
3131
return

0 commit comments

Comments
 (0)