Skip to content

Commit fc1b249

Browse files
schloerkecpsievert
authored andcommitted
When replacing text, replaces spaces with single space
1 parent 462a0cb commit fc1b249

File tree

1 file changed

+1
-1
lines changed
  • inst/apps/200-flexdashboard-render-text

1 file changed

+1
-1
lines changed

inst/apps/200-flexdashboard-render-text/index.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ shinyjster::shinyjster_js(
4444
jst.add(function() {
4545
var el = $(qs);
4646
Jster.assert.isEqual(
47-
el.text().replace(/\\s+/g, ''),
47+
el.text().replace(/\\s+/g, ' '),
4848
txt,
4949
{query_string: qs, element: el}
5050
);

0 commit comments

Comments
 (0)