We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e25b095 commit 186fb5dCopy full SHA for 186fb5d
_extensions/wordcount/_extension.yml
@@ -4,7 +4,7 @@ authors:
4
orcid: 0000-0003-1866-860X
5
- name: Justin Landis
6
orcid: 0000-0001-5501-4934
7
-version: 1.6.0
+version: 1.6.1
8
quarto-required: ">=1.4.551"
9
contributes:
10
shortcodes:
_extensions/wordcount/banner.html
@@ -5,7 +5,7 @@
statusDiv.role = 'alert';
// Add the content of params$wordcount to the status div
-statusDiv.innerHTML = '<i class="bi bi-bar-chart-fill"></i> `r params$wordcount`';
+statusDiv.innerHTML = '<i class="bi bi-bar-chart-fill"></i> `r trimws(params$wordcount)`';
// Create a <header class="fixed-top"> element to hold the status div
11
var header = document.createElement('header');
0 commit comments