[education/rkward] rkward: fixes for spaces and "

Stefan Rödiger null at kde.org
Sun Jun 19 23:07:10 BST 2022


Git commit ac31953d45cb8bb00390348f0cc0441668c8d69d by Stefan Rödiger.
Committed on 19/06/2022 at 22:06.
Pushed by srodiger into branch 'master'.

fixes for spaces and "

M  +2    -1    rkward/RKWardR.xml
M  +1    -1    rkward/RKWardRMd.xml

https://invent.kde.org/education/rkward/commit/ac31953d45cb8bb00390348f0cc0441668c8d69d

diff --git a/rkward/RKWardR.xml b/rkward/RKWardR.xml
index 6aa34023..505fe70e 100644
--- a/rkward/RKWardR.xml
+++ b/rkward/RKWardR.xml
@@ -34,7 +34,8 @@ function rangeCommand(command, def) {
 pdf(fi­len­ame­="my­plo­t.p­df", width=5, height=5)
 plot(rnorm(100))
 dev.off()
-  </fillin>
+
+</fillin>
  </item>
  <item>
   <match>Plotting area (3x3 array)</match>
diff --git a/rkward/RKWardRMd.xml b/rkward/RKWardRMd.xml
index a2f93c3f..9050b181 100644
--- a/rkward/RKWardRMd.xml
+++ b/rkward/RKWardRMd.xml
@@ -94,7 +94,7 @@ $$e^${braces("i\\pi")} + 1$$
  </item>
  <item>
   <match>Link</match>
-  <fillin>${rangeCommand([title]"(%%1)", "URL")}</fillin>
+  <fillin>${rangeCommand("[title](%%1)", "URL")}</fillin>
  </item>
  <item>
   <match>rmarkdown::render()</match>


More information about the rkward-tracker mailing list