From ca8372d512eb9f39527f1c8579d60a5f07679dec Mon Sep 17 00:00:00 2001
From: hlageek <22201406+hlageek@users.noreply.github.com>
Date: Sun, 19 May 2024 14:04:08 +0200
Subject: [PATCH 1/3] escape html in raw text
Fixes #143.
P.S.: Please bump version bug counter when merging (I think that is more consistent than bumping versions inside PRs, which may not be aware of other PRs).
---
R/mod_document_code_utils_document_code.R | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/R/mod_document_code_utils_document_code.R b/R/mod_document_code_utils_document_code.R
index 80be4044..d0176043 100644
--- a/R/mod_document_code_utils_document_code.R
+++ b/R/mod_document_code_utils_document_code.R
@@ -315,7 +315,7 @@ load_doc_to_display <- function(pool,
blend_colors,
code_names)
)
-
+
content_df <- coded_segments %>%
dplyr::filter(segment_start <= segment_end) %>% # patch for failing calculate_code_overlap() function in case of identical code positions
dplyr::mutate(code_id = as.character(code_id)) %>%
@@ -363,11 +363,11 @@ load_doc_to_display <- function(pool,
content_df$position_end,
content_df$tag),
~paste0(..3,
- substr(
+ htmltools::htmlEscape(substr(
raw_text,
..1,
- ..2))),
+ ..2)))),
collapse = "") %>%
stringr::str_replace_all("[\\n\\r]",
"\\
")
@@ -379,7 +379,7 @@ load_doc_to_display <- function(pool,
df_non_coded <- paste0(
"",
- raw_text %>%
+ htmltools::htmlEscape(raw_text) %>%
stringr::str_replace_all("[\\n\\r]",
"\\
"),
From 2f7e5e05cd94423ce3a4107d3f230b89fa66aad3 Mon Sep 17 00:00:00 2001
From: hlageek <22201406+hlageek@users.noreply.github.com>
Date: Sun, 19 May 2024 17:55:02 +0200
Subject: [PATCH 2/3] Create favicon.ico
---
inst/app/www/favicon.ico | Bin 0 -> 15406 bytes
1 file changed, 0 insertions(+), 0 deletions(-)
create mode 100644 inst/app/www/favicon.ico
diff --git a/inst/app/www/favicon.ico b/inst/app/www/favicon.ico
new file mode 100644
index 0000000000000000000000000000000000000000..1c6f5005f5f604639dec6697ff2b3a4920d6c4ea
GIT binary patch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&a~$&hCs)|QlC!2ZyD&@L4{jXRTJd@tvV20!Y(Vdc-*kasBP
z^EG`w%{r6UHCg7M?#w%-t8pIV-BiXqYbU=ayo1F4+NY^^>=)L{%=dHxWe_QTp1)ec
zKmM_;n(Pu|qEFzv
z!{q^@!H?WPMIitB`%>3`3|nKiGyI)*pZ9&SS;fI$BF3BZ`t#6>zOn-AaN^*8V85W^
zBE}7&?9y?>Q~D0Krl+6nfuFJDXSj=|^_MnM+Zp6Kc7W33X-X(cml2W3Pw^{a~-g*Dpo7uq%J|;kS!k#auV}CHe#W;aB
zoi?6N+E3#A8SD4(m
zif73C8OVDX?!f=OJ#{4#{Om(n<#+G!XOF`+0y@R}=polb^J027qSmr9H$A>rfz$c(
zNa=lB{U)F$mIFJ1T3it@8h6Z1c$Lmm->_c$aDR3HYsJ!zHKO+5jr9fImGjuueQo~F
znO+attmD`-lg4Bu-T_*dv|bu5Zyx6ZH$tEKB98qSxR1hrOhsIl+#YwvqQ%nI{@fb{
btmUNM_xs__1nT&ATIOx#^M`T&-xByQ4tEU!
literal 0
HcmV?d00001
From 087697541f01ca390e2b9bd25ff37d24ea0f07f0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Michael=20=C5=A0kvr=C5=88=C3=A1k?=
Date: Sun, 19 May 2024 21:29:23 +0200
Subject: [PATCH 3/3] Bump version
---
DESCRIPTION | 2 +-
tests/test_basic.requal | Bin 106496 -> 106496 bytes
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/DESCRIPTION b/DESCRIPTION
index 267f8891..d254a0e7 100644
--- a/DESCRIPTION
+++ b/DESCRIPTION
@@ -1,6 +1,6 @@
Package: requal
Title: Shiny Application for Computer-Assisted Qualitative Data Analysis
-Version: 1.1.2
+Version: 1.1.2.9002
Authors@R:
c(
person(given = "Radim",
diff --git a/tests/test_basic.requal b/tests/test_basic.requal
index 61b9ab5207355e07383dad1829bb2871f76c1db6..476307c693020729145587671710e27cf8dbce9a 100644
GIT binary patch
delta 99
zcmZoTz}9epZ39~Y#|j4iGQJqz6`KVGX7Ns5S-V);Qo+d3%E-jZ*ig^J)WpKvq)D8K
uos(0wIni-)dfk6PxV(X$rG<&5vFYZr`UU|mO9ewqur`CH3Ckuh3IG7GMH}w`
delta 98
zcmZoTz}9epZ39~Y$4UnNGQL>em74_xX7f&7QM*{$Lc!43%E-XV*i6sD(#Y7rs7Z{8
pos(0wInjP{THSvEBzY4PBSVwTW%UgLTtHDnh_0py%O)@i005Ht8=3$B